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

Open record button on reference fields preview

EmirBekirY
Tera Contributor

In reference fields, I want users to be able to preview the record using the info (i) button, but I don't want the "Open Record" button to appear in the popup. This way, users won't be able to navigate to the User table. Where can I modify the code related to the popup and the button? 

EmirBekirY_0-1750229631630.png

 

3 REPLIES 3

Not applicable

Hello,

 

It can only be done via dom manipulation, I don't think there's any other way to do it.

 

Best Regards,

Brahmjeet

 

Ankur Bawiskar
Tera Patron

@EmirBekirY 

not possible.

what's the point in blocking the Open Record button? let them see the user record will be read-only to them?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron

@EmirBekirY 

if you don't want them to see then disable the i icon using this dictionary attribute

ref_decoration_disabled=true

How to disable the reference icon ⓘ on a field 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader