hide a variable from variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 10:42 AM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 10:46 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 10:56 AM
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.
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 10:57 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 11:01 AM
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