Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Is there a way to hide container using a catalog UI Policy??

saint
Tera Expert

Hello Experts,

 

I'm using a container display value as part of my form section, which i need to show and hide based on a checkbox variable. I tried creating a ui policy and ui policy action but it did not work. Is there a way to hide/show container?

2 REPLIES 2

saint
Tera Expert

I can use a lable but the naming format with container is much better on UI

Tanushree Maiti
Kilo Patron

Hi @saint 

 

Probable cause : There are mandatory variables exists within the container and hence catalog client script is unable to hide the container and variables within it. 

Resolution :Before hiding container variable - make sure, the mandatory variables within the container are set as non-mandatory .

Ref: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0745114#:~:text=If%20your%20C....

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0696942#:~:text=If%20a%20vari....

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0610344

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: