Multiselect catalog item variable.

abhisek
Tera Contributor

Hi All,

 

I have to create a catalog item variable for example 'company' which has 3 values company1, company2 and company3 and multiselect should be allowed for this variable.

This 'company' variable should be visible and mandatory based on other 2 catalog item variable values which can be done through UI Policy but I am stuck with the multiselect.

Can you please help me out.

 

Thanks&Regards,

Abhisek Chattaraj.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @abhisek  

You can refer to the below video to create multi-select field. Also if you need to create only 3 choices, you can create them in sys_choice table and put relevant filter in the List collector field.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

 

Cheers,

Hardit Singh

View solution in original post

10 REPLIES 10

Hi @JenniferRah 

Thanks for your reply.

I can't use list collector as the variable having 3 values does not reference to any table.

Thanks&Regards,

Abhisek Chattaraj.

You will have to create a custom table as I described above.

Sujatha V M
Kilo Patron
Kilo Patron

@abhisek  I tried to replicate your above use case and below is my implementation,

 

I had created two select box variables Variable -1 & Variable - 2 with choices "Yes" or "No". 

 

Created a catalog UI policy, where the variable 1 & 2 holds the values as "Yes", then display the multiselect variable type "List Collector" for Company. 

SujathaVM_0-1738858877384.png

Hide the Company (list collector) variable for other values, 

SujathaVM_1-1738858919339.png

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Hi @Sujatha V M 

Thanks for your reply.

I can't use list collector as the variable having 3 values does not reference to any table.

Thanks&Regards,

Abhisek Chattaraj.

@abhisek  

 

Are those company values are static?

 

If so, you can try as @Ankur Bawiskar response with checkboxes. 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.