- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 12:50 AM
Hello, I created a custom List field in change_request table, named u_environment, referencing a custom table named u_environment.
When selecting several options their names display properly, but when I submit the change request it only shows the name of the first environment chosen, and the rest of the choices are shown as a single 7-character string.
I tried to set the desired field u_name to "Display" at the custom table, to clear the cache and to set u_name as the "Element" field at the Reference List record of u_environment in the sys_ui_list, and nothing works.
Would appreciate any help! 🙏🏻
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 09:18 AM
Hello @RonAlmog ,
I did some testing. The Max length attribute is indeed ignored for List fields. I created a new field and deliberately set the Max length to 40 characters but it still works fine even after submitting a record:
Can you please right click on the label of your Environment field, select "Show u_environment" and provide a screen shot of the popup.
Would it be possible for you to create another List field on Change Request that references the Environment table, and check if you have the same issue there?
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 05:08 AM
The Work notes list field on table incident for example has a max length of 4000.
Maybe you can share a screenshot of the dictionary definition. My guess is it's set to 40.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 05:12 AM
Hello @RonAlmog ,
I agree with @maik1 that it looks like a truncation issue because of a length limit. A sys_id has 32 character. Add a comma and 7 characters and you end up with 40.
Can you please submit a record, then go to the context menu > Show XML and look at the value of "u_environment"?
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 05:38 AM
I've set the max length to 4,000, submitted another change request and nothing changed.
Which XML do you want to see exactly? I didn't really understand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 05:41 AM
Found it:
<u_environment>758004a28d282210192be1443a8ffe8a,1eb0c4a</u_environment>
The sys_id starting with 7580 is of the first environment Selected, Air*****.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 05:46 AM
As expected it cuts off after 40 chars. So you need to increase the max size in the dictionary of the field.