Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Access to the Preview Record icon for RITM

CJPeterson
Tera Expert

Hi All,

Could someone help me understand what determines for some fields to have the "preview record" icon? 

My requirement is to add the icon to "Request" REQ# field on RITM forms. I have done some reading on sys_popup but not able to make it work yet. Ive noticed when the page is first refreshed the icons are there but then disappear once the page is loaded. 

CJPeterson_0-1679669906555.png

CJPeterson_1-1679669946568.png

 

Any advice would be great! 

 

 

1 ACCEPTED SOLUTION

CJPeterson
Tera Expert
4 REPLIES 4

Prince Arora
Tera Sage

@CJPeterson ,

 

The "preview record" icon indicates that this is a reference field to another table, and you can click on it to see the details of that reference field, which will take you to the form view of that record.

 

If you want to enable the "preview icon," simply make the field editable rather than readOnly, and the "preview icon" will appear right in that field.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Hi @Prince Arora , 

When checking I found that the field is not read only, so I think that is where the page is first refreshed the icons are there but then disappear once the page is loaded.

So, I'm checking up on this. 

 

@CJPeterson ,

 

As per your above screenshot attached, it seems that "Request" field is read only!

Check in the ACLs, client scripts, Ui policy what makes it readOnly!

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

CJPeterson
Tera Expert

Was able to find a solution for my issue - sharing link here. 

Solved: Why Does the Open Record Button Disappear on Read-... - ServiceNow Community