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
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