We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

UI Page Reference Field preview record icon

Jake Sadler
Kilo Sage

When setting a reference field value in a ui page, the preview record icon does not appear. How do I make this appear?

Jsadler19_0-1718968633936.png
This is my script so far

gel(field).value = userId;
    gel('sys_display.' + field).value = name;

 

0 REPLIES 0