Question
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?
Answer
- 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;
Comments
0 comments
Please sign in to leave a comment.