Need to hide "Add / Edit / Remove" buttons from Approvers related list in SC Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I have a requirement to hide the Add, Edit, and Remove buttons from the Approvers related list (sysapproval_approver) on an SC Task after a particular task is closed complete.
I created a Client Script (onLoad) on the sc_task table using:
But the buttons are not hiding.
I also tried placing the script inside a UI Policy with no success.
Is there a reliable way to hide the Add / Edit / Remove related list buttons for the Approvers list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
39m ago - last edited 34m ago
Hi,
The buttons are there as long as you have access to create/modify/delete records in that table.
You can hide the related list altogether with an UI policy and UI policy related list action if that's what you're after.
Otherwise you'll need to configure the list control of the related list, and omit the buttons (and probably set a condition for when the button should be omitted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
26m ago
script you shared won't work in workspace
OOTB I couldn't find New, Add, Edit button on Approvers Related list on sc task form
seems somebody added that with some custom solution
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
