To hide a variable in MRVS

Mishu
Tera Expert

I have to hide a variable 'Datadog sub orgs' inside a multirow variable set when it has no value in it .

Like in below screenshot when application 'Cloudability' is chosen it has no related datadog suborgs...so datadog suborgs Label  or Field Name itseld should not be visible


How to achieve this?

 

 

 

Mishu_0-1692164295183.png

 

9 REPLIES 9

Community Alums
Not applicable

Hi @Mishu ,

You can use Catalog UI Policy for your requirement!!
 Please refer to the example and tweak as per your need :

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

 

Hi @Community Alums ...i tried with that and referred the same article, but it does not hide the field name/label on the request ...only the value is hidden

Community Alums
Not applicable

Hi @Mishu ,

Can you tell me what all did you try till now? can you share some screenshots please.

 

I have tried with UI Policy and Catalog Client script (on Load and on change).
In both cases, the field label remains,  customer wants that the label itself should go away when it has no value

Mishu_0-1692168866648.png