How to hide variable of multi-row variable set on grid when added from catalog form and RITM record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 04:32 AM
Hi Community,
I have a multi-row variable set which has a variable of Type Lookup Select Box and I want to hide the value of this variable when added from the catalog form and don't want to display this variable column.
Also I want to hide this from the RITM and Catalog Tasks.
Any help/guidance will be appreciated.
Thanks in advance!
Regards,
Vishwamitra Manav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2025 12:39 AM
Hi,
Performed below steps:
1.Created Catalog UI Policy
2- In UI Policy action, what should i specify because I am not getting option to select variable. for that i have to create UI policy on variable set and not on catalog item.
Also created catalog client script as below:
But it is not hiding my var1, as you can see var1 is coming on the RITM record:
Please suggest.
Thanks in advance!
Vishwamitra Manav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2025 05:42 AM
Hi @VishwamitraM,
Navigate to Service Catalog > Catalog Definitions > UI Policies.
Click New and configure the following:
- Apply Catalog item name: Select the appropriate catalog item.
- Short Description: Enter a description of your choice.
- Applies on Catalog Item View: Set to True.
- Applies on Catalog Tasks: Set to True.
- Applies on Requested Items: Set to True.
In the Action section:
- Variable: Select the Lookup Select Box variable.
- Set Visibility: Set it to False.
"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"
Thanks & Regards,
Barath.P