hide a variable from variable set

dev_K
Tera Contributor

Hello,

 

 

Across many catalog items we use variable set with several variables in it. I am creating now a catalog item that does not use all of those variables so I am looking for the ways of hiding it. 

What is the best solution?

8 REPLIES 8

SanjivMeher
Kilo Patron
Kilo Patron

The best solution I could think of is creating a UI policy on the catalog item to hide it by default.

The other option would be to create another variable set, or variables, if you are only using few variables in that variable set.


Please mark this response as correct or helpful if it assisted you with your question.

Community Alums
Not applicable

Hi @dev_K ,

There are 3 ways you can hide variable 

1. Using UI Policy you can hide any variable with somesort of filter condition

2. Using Client Script you can hide variable on OnChange or onLoad

3. By opening the variable defination you have hide checkbox button, you can also hide from there

As you mentioned that you are not using that variable you can hide them by using hide checkbox.

SarthakKashyap_0-1714758952982.png

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak

 

I forgot to add that I dont want to affect other catalog items. If I select 'hidden' it will become hidden for all of them.

Community Alums
Not applicable

Hi @dev_K ,

Oh okayy in that case you can create UI Policy or Client Script this will work well. Client Script and UI Policy is applicable for only particular selected catalog item not for others.

 

Please mark my answer correct and helpful if this works for you

 

Thanks and Regards 

Sarthak