Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Make the shown field Visible only for Admins

Abishek1998
Tera Contributor

Hi,

 

I have attached one image from user table and that should be only visible for people having only admin roles.

9 REPLIES 9

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You can just have a field level ACL on that field. This will make sure that this field is only visible to admins on the form as well as list.

Looking at the image I am not sure what field you are talking about? It is a related list. 

 

-Anurag

Check this thread, it shows how to hide related list checking user's role in a client script

Solved: What is the best way to hide a related list by use... - ServiceNow Community

-Anurag

Yes sir. It is a related list. I already made acl for other fields but for related list I can't. Plz help me providing with a solution

 

Check the link I gave to hide related list base don roles, is that something that works for you?

https://www.servicenow.com/community/developer-forum/what-is-the-best-way-to-hide-a-related-list-by-...

-Anurag