How to hide the Buttons on the scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 09:59 PM
Hi All,
Need help.
In our custom scope of application, we want to hide the Update and Delete buttons for specific table.
How we can do this configuration.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 10:26 PM
How do i know OOB UI action in the override reference field. Here i can see the different UI actions in different table which one should i select. Please help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 02:24 AM
Hi,
Try to look with the sys_id
for update "42df02e20a0a0b340080e61b551f2909"
for delete "57dc4c970a0a0b3400f8f0538d3faf94"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 11:19 PM
Hello @Khalid9030
In the condition field add this
&& current.getTableName() != '<incident>'&& ! current.canRead()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 03:00 AM
Why not use table level WRITE & DELETE ACL for this?
If user doesn't satisfy the ACL they won't see the Update and Delete buttons.
Don't handle it via UI actions, I would recommend configuring correct write and delete acl for your table
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