on ‎2021 Apr 07 9:13 AM
Hi All,
i get the following error
cannot search unknown field 'TableField(name='allSupercategories',langPK='null',type=category)'
when i run the following query
select {categoryAllSupercategories} from {category} where {code} = 'B2C_Color'
although <itemtype code="Category" > have <attribute qualifier="allSupercategories" type="CategoryCollection">
thank you in advance
Request clarification before answering.
The field "allSupercategories" is dynamic, thus not stored in database. You can look the Dynamic Attribute Handler named categoryAllSupercategories to understand what it does.
<attribute qualifier="allSupercategories" type="CategoryCollection">
<modifiers read="true" write="false" search="false" optional="true"/>
<persistence type="dynamic" attributeHandler="categoryAllSupercategories" />
</attribute>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.