The CreatorCon Call for Content is officially open! Get started here.

UI Policy not working properly

paradise611
Mega Expert

Hi All,

I created a few UI policies on a catalog item that are showing and hiding a few of the same variable. The issue I''m having is that the UI policies are working for some and not working for the others.. Weird, the UI policy is written correctly but it's not showing and hiding what it should be. Please help! Sometimes it works and sometimes it doesn't the behavior isn't consistent.

6 REPLIES 6

johnfeist
Mega Sage

I can offer a couple of suggestions.  First, check your ordering of the UI policies to be sure they are being seen in the right order.  In some cases having multiple policies impacting the same fields can cause the problem.

The other is that if you are in catalog items, you might need to use catalog ui policies.

Hope that helps.

John

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Yes, checked both of these and I'm still experiencing issues with inconsistent behavior.

Shane J
Tera Guru

If you have multiple UI Actions that affect the same variable, make sure your conditions are all inclusive.  Meaning that your condition should be built in a way that you account for every scenario and the field values for each.  It may end up looking like overkill or duplicative, but in the end it will likely work as you'd expect it to.

Brian Lancaster
Tera Sage

I have always found it best to never have more then 1 UI policy that affects each variable.  So there have been times where I have some many scenarios for 1 variable I had 1 UI policy that only affected that variable and I used the OR to do multiple conditions.  So it would look something like the below where you do And OR.  

find_real_file.png