Is it possible to do show/hide on a Display Label field in Catalog Builder?

davida1
Giga Expert

In Catalog Builder, I have a section of text that I wish to display if a certain value is selected for a radio button choice. I can identify the correct choice, but don't see the variable for the Display Label field in the drop-down list.

 

Is it possible to do a show/hide UI Policy on a Display Label FIELD? If not, I'm open to suggestons for an alternate method.

 

Thanks,

David A

5 REPLIES 5

Tanushree Maiti
Giga Patron

Hi @davida1 

 

option 1: 

a. Ensure your variable is truly of type Label or Rich Text Label

b. In the Catalog Builder, within your UI Policy, select Add new action and look for the variable name in the variable list

c. In ui policy action, make the variable's display true/false as per your requirement. 

Note: Validate your ui policy trigger condition

 

Option2 :

  • Create a Container Start variable before the label.
    Create a Container End variable after the text/inputs.
    Use the UI Policy to hide the Container Start variable, which will hide all contained elements
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

For both Option 1 & Option 2, the name does not appear in the variable list in the UI Policy actions.

 

I'm still trying to figure out if I can script in Catalog Builder.

 

Laveena-Agarwal
Mega Sage

Hi @davida1 

 

Simply use rich text label and write a catalog UI policy-

Screenshot 2026-05-01 at 1.11.24 PM.png

 

Screenshot 2026-05-01 at 1.10.56 PM.png

 

 

 

The variable isn't found in the UI Policy actions list of variables.