Field Value getting Displayed on a Reference Field Instead of Label?

shloke04
Kilo Patron

Hi All,

We have a Field on a Custom Table, which is referencing to a String Field on some different table having several choices . Now when I Select any Value from the Reference field it displays me the Backend Value of the Choice field instead of the choice Label.

Have checked the Display property as True for the Referenced field. Kindly Assist!!

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke
11 REPLIES 11

nthumma
Giga Guru

when you said backend value, do you mean sys_id?


Nope. I mean to say when we define Choice we need to define Label for the Choice and It's Value also. So for me the Value is coming when selected from the Reference field.Please refer the screenshot below



find_real_file.png



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

can you post the screenshot of actual reference field where it's showing you value instead of the label?


Paul Curwen
Giga Sage

HI,



Each table should have one Display Value defined. You do this by setting the Display property to True for the appropriate table column:



find_real_file.png



Reference Fields - ServiceNow Wiki



A Reference field will then show this column, usually a friendly string.



Hope that helps


***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul