Using variable conditions builder

bhupindersinghr
Kilo Contributor

I was wondering if there could be a way to mimic the condition builder which is on Catalog UI Policy where selecting a catalog item gives an option to select a variable from the "catalog conditions" field. 

I have created a form with Catalog item and Condition field (dependent on catalog item). And the requirement is to show the variables in the filter option-

find_real_file.png  

11 REPLIES 11

pallavi bhosal1
Tera Contributor

Hi @bhupindersinghrajput ,

I am having same requirement, did you got any solution or suggestion?

Please let me know.

Hi @pallavi bhosale ,

 

I am also having the same requirement, did you get any solution?

 

Regards,

Manisha

MOdijk
Tera Contributor

I am exactly at the point where you are. I created a field of type "variable_conditions", and I also set something in the "dependent" field. I the catalog ui policy, I see "catalog_item,variable_set,applies_to", and I even tried to mimic that by giving a field that referes to catalog items, a field that refers to variable sets and a field that has a choice list with 2 options: item and set. But even with that, and then setting "dependent" to "u_cat_item,u_variable_set,u_applies_to" didn't work.

 

Did you manage to get to work, and if so: do you remember (5 years...) how?

Hi Modijk

 

I'm also currently working on the same requirement, did you get any solution?

Check my answer to MOdjik, if you still have this requirement.