Hide Info Icons beside reference field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 05:42 AM
Hello Experts,
Using ACLs I have made few reference fields like opened by, caller, and affected user read-only for users who has specific role, And now I want to hide the "info" icon and "show related incidents" icon marked only for users with that specific role or on the specific view. screenshot below is for reference.
How can I achieve that?
Thanks,
Rocky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 05:50 AM
Hi,
You can make instance level change for this
1) UI Properties module
2) Uncheck this -> Enable click-through of a reference field when the reference field is read-only.
3) Logout and login and then verify
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 05:59 AM
Hello Ankur,
The propery is already unchecked in our instance. but still we see those icons. Any other input?
Thanks,
Rocky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 08:01 AM
Hi,
That property should work. Did you try to logout and login?
If still not working then keep it as it is and show limited fields on the sys_popup view for sys_user table
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 05:52 AM
Hi Rocky,
Try Below onLoad client script to hide it for specific user
function onLoad() {
//Type appropriate comment here, and begin script below
if(g_user.hasRoles('itil'))
$('view.incident.caller_id').hide();
}
refer : Hide reference icon(i) and magnifier for one specific role