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.

Variable should only be visible in the workspace but not in the portal. How to do it ?

Community Alums
Not applicable

Variable should only be visible in the workspace but not in the portal. How to do it ?

1 ACCEPTED SOLUTION

RaghavSh
Mega Patron

Write a client script which applies to only portal:

 

g_form.setVisible('variable_name',false);


Raghav
MVP 2023
LinkedIn

View solution in original post

1 REPLY 1

RaghavSh
Mega Patron

Write a client script which applies to only portal:

 

g_form.setVisible('variable_name',false);


Raghav
MVP 2023
LinkedIn