Display variables in catalog based on value changed in other variable....

ramyashree
Giga Contributor

Hi Friends!!!

In the catalog I have a reference field A,it has list of options.

If I select few options,I want to display some of the variables in the catalog.

If not I need to hide those variables..

How can I achieve this...

Thanks,

Ramya

1 ACCEPTED SOLUTION

You can do it by using the same UI policy only. Give the condition like value in the reference field   is ******* then visible true for the fields to be visible and false for other fields to be hiddden. Also check whether any other UI policy is written on these fields. IF more than one Ui policy is there for the same field then it may not work properly. If you have done the same earlier then please share the screenshot of your UI policies.


View solution in original post

7 REPLIES 7

JusCuz
Tera Guru

In this case, UI Policies are your friend, you can show/hide variables based on the value of another variable.



Service Catalog UI Policy - ServiceNow Wiki


Thanks for the reply..But I am facing some issue...


Based on the value changed in the reference field(variable in catalog ) I need to hide three variables.


First variable is List Collector and the other two are Checkboxes.


Condition is same for all.but I am not able to write One UI Policy.


So I wrote three UI Policy. But only two UIPolicy are working One for listcollector and one checkbox..


Anyone has Idea on this..


You can do it by using the same UI policy only. Give the condition like value in the reference field   is ******* then visible true for the fields to be visible and false for other fields to be hiddden. Also check whether any other UI policy is written on these fields. IF more than one Ui policy is there for the same field then it may not work properly. If you have done the same earlier then please share the screenshot of your UI policies.


Thanks for the reply....


I have UI   policy for both check boxes when they are true some more fields needs to be visible will that be a Problem..






Thanks,


Ramya