How to avoid 256 symbols limitation for the Image Source service field?


I am using a service field with the Image Source as a data source. In some cases, it throws an error when the value is longer than 256 symbols. How to avoid this?



  • Create a simple Text field instead of a service field.
  • Add a new script rule for this field with the following line of code:
Context.Field("FieldName").Text = Context.Document.Pages[0].ImageSource;

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request



Please sign in to leave a comment.