Skip to Content
0
Former Member
Apr 23, 2015 at 10:59 AM

how to include a relation attribute during catalog synchronization?

462 Views

Hi,

I have a new item type "Xyz" and defined a many-to-many relation between Xyz to product (Xyz2ProductRel). And then I created a relation attribute for "Xyz2ProductRel". something like this

         <attributes>
             <attribute qualifier="referenceNo" type="java.lang.Integer">
                 <persistence type="property" />
                 <modifiers read="true" write="true"  search="true"  optional="false" />
             </attribute>
         </attributes>


The value of referenceNo is maintained in the staged version of the catalog. But during catalog synchronization, the value is not synchronized to the online version.

If i looked at the database, there were 2 entries: staged and online but the online "referenceNo" is null.

How can i include the relation attributes during catalog synchronization?

Thank you.