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

Hi Paul,



Display Value has been set as True for the correct Referenced Table field, still the issue persists.



Regards,


Shloke


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

Regards,
Shloke

Rajesh Annepak1
Kilo Guru

Hello



Please try getDisplayValue Function


Get Display Value in Client Script for Reference field



Please hit correct/helpful



Rajesh


Why should a Client Script be needed?Any specific Reason for this? Reference field is not showing the Label Value instead it shows the Choice Value.


It should automatically accept the Choice Label as it does for other Reference fields with correct Display Value also set as True.



Please see the screenshot attached above.



Regards,


Shloke


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

Regards,
Shloke

sraghunath
Tera Contributor

check if the display value for that field is set properly and also check if there are more than one field with that property set as true.




Regards,


Raghunath S



PS: Hit like, Helpful or Correct depending on the impact of the response.


vinothkumar
Tera Guru

Hi Shloke,



Can you check which field is set as display as true in the dictionary entry for that particular custom table and also check the field based on your requirement.



http://wiki.servicenow.com/index.php?title=System_Dictionary#gsc.tab=0