Skip to Content
0
Jun 06, 2020 at 12:28 PM

How to enable StringCollection attributes in Advanced-Search in Hybris backoffice ?

789 Views

I have a Itemtype like below created in my <custom>core-items.xml file.

<itemtype code="TestType" autocreate="true" generate="true"> <deployment table="TestType" typecode="18900"/> <attributes> <attribute qualifier="testAttribute1" type="StringCollection"> <modifiers read="true" write="true" search="true" optional="false" initial="true"/> <persistence type="property"/> </attribute> <attribute qualifier="testAttribute2" type="StringCollection"> <modifiers read="true" write="true" search="true" optional="false" initial="true"/> <persistence type="property"/> </attribute> </attributes> </itemtype>

I need to bring the above attributes in the advanced search.

But OOTB is not support/available directly to bring StringCollection attributes.

Can any one please let me know how to achieve this functionality.

Appreciate your help and support on the same.

Thanks.