Hiding Activities (not in a section) on the Incident form based on role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022 09:46 AM
Hi all,
I would like to hide Activities (Formatter) when Incident is loaded (onload) via Client Script.
I know I can push this formatter to a section and then hide the section. I do not want to do this because this Activities is present on Mobile as well, and it is NOT on a section (users prefer it this way).
Is there a way via onload client script to hide the Activities formatter based on role (only if this is Incident table), much like you do with the section; i.e., g_form.setSectionDisplay('activities', false);
Thanks,
M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022 03:12 PM
Check this thread. https://www.servicenow.com/community/developer-forum/how-can-we-hide-the-activities-formatter-in-sc-...