- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2015 06:17 AM
Hi!
I've created a table by importing a schema for it as a CSV file and using a transform map to add it to the sys_dictionary table. I did this because this table is being transferred from another database and has quite a few fields. Entering it by hand would be time consuming and error-prone.
An example of the entries in the csv file I used to create the table:
Table,Column name,Active,Type
u_widgets,Orders,true,String
u_widgets,Client Name,true,String
u_widgets,Thneed Count,true,String
etc.
The table created quite nicely. All strings created with the default 40 char size. There are roughly five fields that I needed to enlarge, so I modified by hand those fields' Max length to larger numbers such as 200.
Unfortunately, these fields are still quite locked at 40 chars. If I look at the form view for the table, the fields have large text entry boxes (apparently honoring the larger Max length) but when I try to add more than 40 chars, as soon as I save the entry it cuts off again back at 40.
Does anyone know what might be going on here? I've scanned the dictionary attributes for these fields and compared to more-than-40-char fields in other tables and I see no difference. Yet there must be a setting somewhere I've missed.
Any help would be vastly appreciated.
Thanks!
Greg
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2015 10:41 PM
Hi Gregory,
Try to change the max length to 256 first and then try to put it to a bigger value after.
It seems that if you don't put it to 256 first, the change will not occur at the database end (which you cannot change yourself).
As changing from 40 chars to say 400 requires a change to the field data type.
Introduction to Fields - ServiceNow Wiki
Best Regards
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2017 08:56 AM
hey Vinoth,
I am having the same issue. Did you ever find a resolution?