How to hide the New button in the Teams related list for non-admin users on Service/Service Offering

muskanattar
Tera Contributor

Hello Community,

 

On the Service and Service Offering records, there is an OOTB related list called Teams.

 

In this Teams related list, the New (and Edit) buttons behave as follows:


• For admin users, the New and Edit buttons are visible and records can be created/edited as expected
• For non-admin users, clicking the New button opens the record in read-only mode

 

Our requirement is to hide the New (and Edit) buttons completely from the form UI for non-admin users on the Service and Service Offering tables, instead of showing the button and opening a read-only form.

 

What we have tried:
• Implemented Omit Rules on the related list, but the New button is still visible
• Checked form-level configurations, but could not suppress the button

 

Requirement:
• Hide the New buttons in the Teams related list for non-admin users
• Apply this only on Service and Service Offering forms

 

Could you please advise:
• Whether this behavior is controlled via ACLs, UI Actions, Related List properties, or OOTB CSDM logic
• The recommended technical approach to hide these buttons at the form / related list level.

 

Any technical guidance or best practices would be appreciated.

 

Thank you.

12 REPLIES 12

Hi @Ankur Bawiskar ,

 

I checked the ACLs and there is no restriction coming from them.


The Edit button is correctly hidden for non-admin users (no omit script or roles has added for edit button)
However, the New button is still visible.

@muskanattar 

You should be able to hide New button using either of these approaches

1) List control -> New roles OR Script in Omit new condition

OR

2) Table.None CREATE ACL on that related list table , ensure non-admins can't create. In roles section add admin role

Did you try 2nd approach?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

muskanattar
Tera Contributor

Yes correct,  even after giving admin in New roles it's still showing for non-admin?