How to hide Variable set using UI Policy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 01:08 AM - edited 02-13-2023 01:09 AM
Hello,
Is it possible to hide Variable Set using UI Policy?
EX:
variable a = "xyz choice option", then only display variable set (demo variable set)
2 REPLIES 2
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 01:45 AM
Solution :
- Create a new catalog UI policy.
- Add Catalog Conditions as per your requirement in the When to apply tab.Save it.
- Add New Catalog UI Policy Action under Catalog UI Policy Actions related list.
- Select variable set name that you want to hide. Set visibility false.
- Save.
Please mark my response as Correct / Helpful
Thanks!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2023 01:47 AM
Hi @anvitha ash ,
Create catalog UI policy as below
Select proper Catalog item and apply condition on the basis of variable
Script :-
UI type - All
//If True
function onCondition() {
g_form.setDisplay('VARIABLE_SET_NAME', false); //writedown variable set backend name
}
//If False
function onCondition() {
g_form.setDisplay('VARIABLE_SET_NAME', true); //writedown variable set backend name
}