For a feature, I created a shadow copy of a large set of fields of an already large document model that I would fill through the BE, but it seems that compiling a print model has is limits when it comes to document model size?
I got this error on compiling a a print model on which I didn’t change anything, just added a large number of fields to the document model it was linked to
Script1.groovy: 3559: String too long. The given string is 67720 Unicode code units long, but only a maximum of 65535 is allowed
Reducing the number of fields to just those I actually required alleviated the issue, but I wanted to know whether document models for this reason have a limit when used by the print engine.