UI Action Button on Group Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I wanted to create a new UI Action Button in the Users Tab (in the related list) in a group form. By default, there is a UI Action button called 'Edit'. How I can make this 'Edit' button to be visible to only Admin and hidden for all.
And the new UI Action Button (let's call it Add/Remove Users) to be visible to all.
Action Requirement -
When user click on this UI Action button, it should be redirect to a Catalog Item where I'll be taking care of Add/Remove users in that group through RITM.
Please help me to build this UI Action button and Hide the existing Edit button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @BKSharma
To make the 'Edit' button visible only to Admins and hidden for everyone else:
-
Navigate to the List Control for the relevant table.
-
Open the Related List configuration.
-
Add a role restriction by assigning the Admin role to the Edit button.
-
Save the changes.
Now, only users with the Admin role will see the Edit button.
When user click on this UI Action button, it should be redirect to a Catalog Item where I'll be taking care of Add/Remove users in that group through RITM.
Not recommended, as only an Admin or a specific user can add users to a group. There is no purpose to redirect this to a Catalog page. Catalog items are primarily intended for end users only.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************