The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to hide variable of multi-row variable set on grid when added from catalog form and RITM record

VishwamitraM
Tera Expert

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

16 REPLIES 16

Mahathi
Mega Sage
Mega Sage

Hi @VishwamitraM ,

You should be able to do it with an UI Policy or combination of UI Policies.

In the UI policy you will be able to select if it applies to Catalog item, tasks etc. 

Mahathi_0-1739191075550.png

 



Refer to:
https://www.servicenow.com/community/developer-articles/hiding-multi-row-variable-set-variables/ta-p...

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi

Hi @Mahathi 

I am just using this variable to implement some logic. However, this variable is of no use for the end user to see after it is added. So want to hide it.

I tried hiding it with Catalog UI policy but it did not worked.

Can you please suggest some solution.

Ankur Bawiskar
Tera Patron
Tera Patron

@VishwamitraM 

you want to hide it during form submission and also on RITM and SC Task?

if yes then simply create catalog UI policy which applies on Catalog item

Check these 3 checkboxes and then hide that variable set from Catalog UI policy action

 

AnkurBawiskar_0-1739191429271.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

Could you please help me with the steps?

I am creating the Catalog UI Policy but it is not hiding a particular variable even though i created Catalog UI Policy Action and set that variable visibility as False.