UI Policy not working for variable set

crao
Kilo Contributor

Hi all,

I have created some catalog items. Since Most of them use the same variables , I have created a variable set. I want to hide a field for some of these items so I created a UI Policy on a variable set and in the catalog conditions I have mentioned that if the catalog item is A or B or C, run the UI Policy action to hide the field. The issue that I am facing is that the UI policy applies to all the catalog items using that variable set and not just to the few catalog items that I have mentioned in the condition. Any idea why this might be happening. I wanted to find out if there is a way to make this work without having to write a client script. Any suggestions?

Thanks & Regards,

Chetana

1 ACCEPTED SOLUTION

Ajai S Nair
Giga Guru

Hi Chetana,



Normally if you create a UI policy for a Variable set then it will be applicable to all Catalog items using that variable set. So in your case you have to get the catalog item name or sys_id in a variable inside the variable set and use that variable instead of 'catalog item' field in the Catalog Conditions


View solution in original post

11 REPLIES 11

I never came across an issue like this...I am using this approach in many of my catalog items.


What was the issue there??


no system issue, just user error