- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
In my record producer one of the fields is reference to customer_account table.
OOB functionality there is an ('i') icon to preview the record.
How can I control the the view that will be shown on click or how can I disable the ('i') icon completely ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Use the below CSS. It's working as expected.
It will remove i icon from all reference variables on your portal
How to hide reference variable Information icon on catalog items in Service Portal
.field-has-reference button {
display: none;
}
Output:
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You can use a Lookup Select Box variable type instead of a Reference variable. This approach requires no CSS and does not display the Info Icon.
If CSS is necessary
.add-on > button.lookup {
display: none;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Pratiksha but i have multiple record producers with multiple reference fields, i need a better solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi ALon,
It can done using Client script with DOM manipulation (where isolate script is not checked), If it is role specific you can call script include and check the logged in user role.
For code/configuration: How to remove popup (i) icon from list view (relat... - ServiceNow Community
Using UI script, from list view, that 'i' icon can be controlled. refer : Solved: Hiding (i) icon in the list view of a table - ServiceNow Community
Please refer this links, see if it helps you:
Limit access to the "preview this record" button b... - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Tanushree Maiti hi im talking about service portal.
I tried to add to the variable attribute, but it still not working
ref_decoration_disabled=true

