Hi
Your request class tsRequest has a property DocumentData which I assume has a data type of %String. There is one thing you need to check and to things you can do in the request class:
1) Make sure that the setting for "Support Long Strings" setting in your Cache Instance is set to true. The setting can be found in the Management Portal at System Administration > Configuration > System Configuration > Memory and Startup
2) in the class definition for your request class use the following definition for your DocumentData specify the definition as follows:
Property DocumentData as %String(MAXLEN="", TRUNCATE);
Turning on Long Srinngs enables you to store up to 3,641,144 characters.
The Attribute MAXLEN="" says the Maximum Length of the property is the maximum string length supported i.e. 3,641,144 characters.
The TRUNCATE attribute will chop off any characters that exceed the MAXLEN without throwing a MAXSTRING error
Nigel
- Log in to post comments

.png)