We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

UI Action Button on Group Table

BKSharma
Tera Contributor

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. 

1 REPLY 1

Dr Atul G- LNG
Tera Patron

Hi @BKSharma 

To make the 'Edit' button visible only to Admins and hidden for everyone else:

  1. Navigate to the List Control for the relevant table.

  2. Open the Related List configuration.

  3. Add a role restriction by assigning the Admin role to the Edit button.

  4. Save the changes.

Now, only users with the Admin role will see the Edit button.

 

DrAtulGLNG_0-1755697556018.png

 

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.

 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************