- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 11:33 PM
Hi,
I'm looking for an option to hide the buttons at the bottom of the form. I want the buttons in the header to stay, but I want to get rid of the buttons at the bottom of the activity stream.
I tried use $$('#action_name'_bottom)[0].hide(); in UI Policy but it doesn't work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 12:05 AM
It will require DOM manipulation which is not recommended practice.
Check this link
Ensure Isolate script field for UI policy is marked as False
Unable to show/hide UI action located at the bottom of the form through a UI policy.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2023 11:42 PM - edited 09-21-2023 11:44 PM
Hi @miro2 ,
I think the issue might be with isolate script field which needs to be set as false.
please try below link;
ensure Isolate Script is set to false, this field is not on form, you need to set this field from list layout as false
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 12:05 AM
It will require DOM manipulation which is not recommended practice.
Check this link
Ensure Isolate script field for UI policy is marked as False
Unable to show/hide UI action located at the bottom of the form through a UI policy.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 06:17 AM
@Ankur Bawiskar
just want to confirm, $$('#action_name'_bottom)[0].hide() is a DOM manipulation or both, I mean the solution provided in KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 07:51 AM
it's DOM manipulation.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader