Client Script Max Length: 8000 but wait, there's more!

xiaix
Tera Guru

find_real_file.png

I have UI Pages with well over 30,000 characters, and they process just fine.   If the max length of the Client Script field is 8000, how is it possible to fit my 30,000 in there?

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi David,



I discovered a while back that once you get to 1,000 in a string field length (or other fields derived from string like script) that the length is unlimited. It really doesn't seem to have any impact other than to help the person looking at the dictionary say "Oh, that's a big field."



I believe the history of script fields were that they were just strings and limitations were hit when they tried 1,000 or 4,000, or 8,000 so someone just made the decision one day that all script fields should be unlimited so we never run in to problems.



That's my (unfounded) theory and I'm sticking with it.


View solution in original post

3 REPLIES 3

Chuck Tomasi
Tera Patron

Hi David,



I discovered a while back that once you get to 1,000 in a string field length (or other fields derived from string like script) that the length is unlimited. It really doesn't seem to have any impact other than to help the person looking at the dictionary say "Oh, that's a big field."



I believe the history of script fields were that they were just strings and limitations were hit when they tried 1,000 or 4,000, or 8,000 so someone just made the decision one day that all script fields should be unlimited so we never run in to problems.



That's my (unfounded) theory and I'm sticking with it.


Oh ctomasi, how I do appreciate your answer candidness.   "Oh, that's a big field" had me laughing out loud



Thanks for your insight.   So this leads me to my next question: what other fields give a pseudo max length declaration?


Hi David,



Glad I could make you laugh on a Monday.



Just the string related ones as far as I know. Not too many other fields need large values (e.g. true/false, integer, date/time, etc.)