How to control the view of the 'i' icon or remove it completely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
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
yesterday
@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
yesterday
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
2 hours 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
