Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Hide fields of user table

Govind Bysani
Tera Contributor

In user table, there is a section called 'Additional details', In that I have 5 variables in it, I need to hide 2 of those variables using client script. Can anyone help me on this.

7 REPLIES 7

But I need to make those fields visible for specific group members only, how can i do that using UI policy

Hi @Govind Bysani 

For this, you need to write Business Rule and in that you can mention this fields or create the ACL for same. 

*************************************************************************************************************
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]

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

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You can use this

g_form.setDisplay('variables.<variable name>', false);
-Anurag