Capture Max length for Dictionary attribute override in update set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2019 10:23 PM
Hello Folks,
OOTB the max length of the 'Attributes' field available in Dictionary override form was 255, I changed it to 1000. I captured this change in the update set. So when i moved the update set to TEST instance, the max length got changed to 1000 correctly. But in TEST instance when i enter the attributes with more than 255 characters in the 'Attributes' field and save it.. its value trims to 255 character. In other words, on save it is not accepting values more than 255 characters even though the max length is 1000. However on DEV it is allowing to save more than 255 characters.
Please advice. Thanks in advance.
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2019 10:32 PM
Hi Amit,
Sometimes this issue comes because the dictionary length gets set to 1000 in ServiceNow but not in database where the actual field length is present
when you update the max length to some larger value the field type changes internally in database which must not have happened till now after moving your update set; 255 length means CHAR data type in database
Raise a ticket with ServiceNow team for this and they should help you.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2021 07:16 AM
Changed the max length to 4000 and I was able to save more than 255 characters in the Attributes field of a Dictionary Override.