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.ImageSource;