Hide variables on Portal

Community Alums
Not applicable

Hello,

 

Our UI policy correctly hides variables (ADP case number and Workday case number) on the portal form and displays them on RITM and SC tasks.

However, after submitting the request, the variables become visible again on the portal's  view. We need to prevent this. 

LexaHunger_20_0-1743524103071.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

UI policy or client script won't work on that ticket page.

So you can't conditionally show/hide the variables on that page.

You can either Show or Hide them directly

if you want to hide those variables in ticket page in above screenshot then in your variable configuration Unselect the "Visible on Summaries" box

AnkurBawiskar_0-1743570186191.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

4 REPLIES 4

Shivalika
Mega Sage

Hello @Community Alums 

 

Where is this ? Is it ESC ? Or is it SP ? 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Community Alums
Not applicable

It is SP

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

UI policies do not work on widgets. You need to clone the widget and either remove the variable from the widget or it will show like this. There’s no other solution.

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

UI policy or client script won't work on that ticket page.

So you can't conditionally show/hide the variables on that page.

You can either Show or Hide them directly

if you want to hide those variables in ticket page in above screenshot then in your variable configuration Unselect the "Visible on Summaries" box

AnkurBawiskar_0-1743570186191.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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