Enforce field MaxLength in the BOM by default


Author
Message
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
As far as I know there is nothing in SF to automatically enforce the characters entered in a Textbox with respect of the field length value.

An error like this can be easily generated by the end user.

BusinessLayerException
  An error occurred while saving an the data to the server.
DataLayerSavingException
  String or binary data would be truncated.

I know I can create a lot of broken rules to validate the field Length, but I strongly believe that this should be handle by the Business Object Mapper since it has all the information needed to add this kind of validation to the BO designer file.

Edhy Rijo

Replies
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Trent L. Taylor (03/21/2008)

When developing a framework and trying to appeal to the masses, it is best to make the change so that it will be respected in the broad spectrum.

Trent,

As I said before in this forum, I am new to .NET and do appreciate any kind of input anybody here can do to help me out. Tongue

Please don't get my postings in the wrong way, if I gave you the impression of going in circle in this topic, that was not my intention.

I am in the process of converting VFP projects to VB.NET with SF, while doing this, I am learning the .NET way of doing some things and along this the SF approach to those situations, so my posts are in regard to let you guys know of things I believe may enhance SF in the future, based on my experience working with VFP frameworks, of course that does not necesarily means that I want that feature today, or that it is a valid doable feature.

I hope this helps you understand that I have heard you on all of your other posts and help you to understand that you can add this logic yourself very easily since it will not need to support all data types, etc.  We try to listen to all of our customers and meet their needs.  Especially in areas where there is a high-demand request...which though this is not in high-demand, we do see that there could be some things that help speed development up in the long-term.  Thanks for your input and understanding.

Since you made the suggestion, I am already using the MaxLength property Tongue.  So far, nothing is a show stopper for me Hehe the easy way would be to keep building solutions for my customers with VFP and here I am in the .NET world using the framework I believe is closest to what I am used to, and believe me it took me a while to review other framework vendor and decided to stay and invest in SF, and one of the major reason for my decision is the kind of support provided by you and the other SF team members.

Anyway, thanks for the points!!!Wink

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
No problem, Edhy.  It is 100% our desire to add anything to the framework that will enhance not our our development experience, but every developer that uses SF.  We listen to every suggestion made from every developer and we discuss and determine which of those suggestions need to be implemented into the framework.

I understand exactly what you are going through at the moment, as do many other developers out here on this forum.  It took us a while to "break out of our shell" so to speak and finally smell the roses BigGrin  Many of the things that you are fighting is simply just trying to come from an environment in which you were comfortable and then try to apply those same techniques towards .NET.  Obviously this is met with some frustration and scratching of the head when trying to resolve your problems.

This is why we have really developers and tweaked our training classes over the years...to cover things just like this. 

At any rate, we are truly glad that you chose SF and we do appreciate your suggestions....this is how things get better!

Happy Easter...I am going to take off and spend the rest of the day with my family.  Talk to you soon.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I understand exactly what you are going through at the moment, as do many other developers out here on this forum. It took us a while to "break out of our shell" so to speak and finally smell the roses BigGrin Many of the things that you are fighting is simply just trying to come from an environment in which you were comfortable and then try to apply those same techniques towards .NET. Obviously this is met with some frustration and scratching of the head when trying to resolve your problems.


Can I get an "Ahmen" brothers and sisters! I vote this as the understatement of the year, both on the frustration part and the smelly roses part Wink



This is why we have really developers and tweaked our training classes over the years...to cover things just like this.


If you haven't signed up for the class yet...do it. Best training class I've ever had.



Happy Easter...I am going to take off and spend the rest of the day with my family.


Happy Easter!
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Greg McGuffey (03/21/2008)

If you haven't signed up for the class yet...do it. Best training class I've ever had.


Hi Greg,

I have not signed up yet, but it is on my priority list. 

In my experience with other training and developer conferences, it is best when you are familiarized with the tools, and that is just what I am doing know with this project, getting to know SF.  I belive I'll be in good shape for the July class. Cool 


Edhy Rijo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I belive I'll be in good shapefor the July class. Cool




Me too! Smooooth
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
er...Blush...what is meant was that I also believe you'll be in good shape by July...you making great progress!
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Oh, I was already counting you on, Greg! Wink
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Ivan George Borges (03/22/2008)
Oh, I was already counting you on, Greg! Wink

Me too!!!

Ivan, I know you have a big beer contest or something like that for the July class, I don't drink beer, but I'll buy you one (yes, just one Tongue) any size you like, if I make it to the class!

Edhy Rijo

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Edhy.

Ivan, I know you have a big beer contest or something like that for the July class, I don't drink beer, but I'll buy you one (yes, just one Tongue) any size you like, if I make it to the class!

You are safe with me, then! I am a very light drinker, but it is going to be a pleasure to have one with you, and just tell me what you prefer instead of the beer. BigGrin

Hope you can make it. Where are you going to be coming from?

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Ivan George Borges (03/24/2008)

... and just tell me what you prefer instead of the beer. BigGrin

Hope you can make it. Where are you going to be coming from?

Well, I prefer Steaks and Ice Tea Wow

I live in New York, so it will be a couple of hours trip, of course I won't drive w00t

Edhy Rijo

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Truth be told...we all like to talk big, but everyone (that has posted so far and that I know) including myself, are very light drinkers BigGrin ...but it is more fun to talk big BigGrin

Yeah, we actually have people already coming from as far away as Denmark...so I am pretty sure they aren't driving either Tongue

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Edhy Rijo - 17 Years Ago
                         No problem, Edhy. It is 100% our desire to add anything to the...
Trent L. Taylor - 17 Years Ago
                             [quote]I understand exactly what you are going through at the moment,...
Greg McGuffey - 17 Years Ago
                                 [quote][b]Greg McGuffey (03/21/2008)[/b][hr] If you haven't signed up...
Edhy Rijo - 17 Years Ago
                                     [quote]I belive I'll be in good shapefor the July class....
Greg McGuffey - 17 Years Ago
                                         er...:blush:...what is meant was that I also believe you'll be in good...
Greg McGuffey - 17 Years Ago
                                         Oh, I was already counting you on, Greg! ;)
Ivan George Borges - 17 Years Ago
                                             [quote][b]Ivan George Borges (03/22/2008)[/b][hr]Oh, I was already...
Edhy Rijo - 17 Years Ago
                                                 Hi Edhy. [quote]Ivan, I know you have a big beer contest or something...
Ivan George Borges - 17 Years Ago
                                                     [quote][b]Ivan George Borges (03/24/2008)[/b][hr] ... and just tell me...
Edhy Rijo - 17 Years Ago
                                                         Truth be told...we all like to talk big, but everyone (that has posted...
Trent L. Taylor - 17 Years Ago
Teddy Jensen - 17 Years Ago
Ivan George Borges - 17 Years Ago
Alex Luyando - 17 Years Ago
Edhy Rijo - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Alex Luyando - 17 Years Ago
                         Great!
Edhy Rijo - 17 Years Ago
                             Guys, My team did a class to control something like that (see...
Luiz Lima - 15 Years Ago
                                 thank you so much, I needed something like this. :) [quote][b]Luiz...
Fabian R Silva, - - 14 Years Ago
                                     Hi Just wondering if this does anything different to the facility...
Ger Cannoll - 14 Years Ago
                                         I am not sure what you mean by "facility". But for quite a while now,...
Trent L. Taylor - 14 Years Ago
                                             Hi Trent. Yes, by facility I was referring to the AutoAdjustMaxLength...
Ger Cannoll - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search