I have a situation where the required contents of a multi-line text field exceed the permitted 3,400 bytes that's allowed in the Content Porter (as Peter points out, this limit doesn't apply to the storage of this field in the Component Field CME side - the error is noted below[1]).
The solutions I see are
- Reduce the size of the content to be less verbose
- I tried adding maxlength into the schema definition (which would enforce the above!)
- Use a repeatable field and (either manually or programatically with the event system) split text to maximum sized chunks
- Seek to extend the limit?
1's out - it's a client thing.
2's a no-go - I see that this is excluded by design
3's something I'm considering - I could even use a GUI extension to alert a user Server side code or Anguilla)
4's something I'd like to know if anyone has achieved this through SDL in a supported manner (as we obviously can't just change the field length in the database!)
Thanks for any comments
[1]
Destination with name 'HTTPS=[Password=****, URL=http://server.com:81/HTTPUpload.aspx, UserName=removed]' reported the following failure:
A processing error occurred processing a transport package Could not deploy component [Component id=tcm:11-123-16 title=article_title schema=tcm:11-121-8], Error while creating custom meta data, String or binary data would be truncated., String or binary data would be truncated., Error while creating custom meta data, String or binary data would be truncated., String or binary data would be truncated.