A list field shows sys ids instead of actual values

RonAlmog
Tera Contributor

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! 🙏🏻 

1 ACCEPTED SOLUTION

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:

RobertH_0-1743437704415.png

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

View solution in original post

21 REPLIES 21

Robert H
Mega Sage

Hello @RonAlmog ,

 

Can you please share a screen shot that illustrates the issue, and maybe also a screenshot of the Dictionary record for that field?

 

Regards,

Robert

First two images are before submitting, the last one is after submitting.

maik1
Tera Contributor

Hey @RonAlmog,

to me it looks like your List fields length is to short to store all the needed sys_ids. What is the current length set up in the dirctionary?

Regard,

Maik

RonAlmog
Tera Contributor

There's no length setting to a field typed "List".