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:59 AM
Hello Chetan,
Tried your script, didn't work. any other input?
Thanks.
Rocky.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 06:53 AM
Hi Rocky,
if those field will not be editing by those roles, we can use setreadonly() in the Same script, to make those field read only for particular Role, so icon automatically hide.
g_form.setReadOnly('value', true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 06:21 AM
DOM Manipulation is not recommended and will probably be broken in the next upgrade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 06:29 AM
Hi Maik,
So, what could be the alternative solution?
Thanks,
Rocky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2022 07:16 AM
Hi Rocky,
that info icon is one of the most useful and used functions, and therefore it makes no sense to find any not-recommended way to hide that.
Why? What is the problem you or your customer have with that? And is it really worth the efforts or troubles you will have?
Use OOTB functionalities as much as you can, and you are well-prepared for the next upgrade.
Kind regards
Maik