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

Hi @Abishek1998 ,

 

Please try the below article to achieve your requirement
How to hide defined related list using script 

Dynamically hide Related Lists 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

HI,

 

So what exact sys-id should I use for the below script. I couldn't get the sys-id for the whole user table
g_form.hideRelatedList('REL:sys_id');

Try this first

 g_form.hideRelatedList(<table name of the related list>);

 

 

-Anurag

No sir, not working

 

hi,

On the related list, right click on the header -> Configure -> List Control.

Go to list control and try with this name highlighted below , or the sys id. One of them should work

AnuragTripathi_0-1715256072331.png

 

-Anurag