Editable catalog reference variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
I have a reference field on a form. When I click on the “I” (Info) icon, it opens the record in a popup window.
Its portal side where I click on i button it is showing editable fields
I want to make that popup read-only, so users can view the details but cannot edit anything from the popup.
Important:
This is not a variable. It is the standard reference field “Info” preview popup.
Has anyone implemented this before? What is the best approach to make the Info popup non-editable?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @DevYadav ,
To do it - right click on that reference field -> configure dictionary ->navigate to the "Dictionary Overrides" section and open the record for your table.
In the dictionary override record enable override attributes checkbox and add the attribute "ref_decoration_disabled=true".
If you check that checkbox is already enabled and a value exist , add ", ref_decoration_disabled=true" after the present.
Save and update the Record.
Then try.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
@Tanushree Maiti can you please give me exact navigation
As it is reference type variable and referencing to user table.
Just for letting you know it is already working fine in backend (when we click on try it of RP, select any user from reference type variable then click on i button it is displaying all fields as readonly.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @DevYadav ,
- Navigate to System Definition > Dictionary. OR type sys_dictionary.list
- Filter the list to find by table (sys_user) and type (reference) field -which you want to disable the information icon.
- Open the record (eg. Department)
- Add this line to the Attributes: ref_decoration_disabled=true . ( In following screen shot- already value exists , so add ", ref_decoration_disabled=true" after the present. )
- Save/Update the record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
The question is for variables on catalog item and not dictionary field.
it would be nice if you could share screenshots of working solution for the reference variable.
This helps members as well.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
