cancel
Showing results for 
Search instead for 
Did you mean: 

How can i create VariantValueCategory using hot folder

Former Member
0 Kudos

hi i am trying to create VariantValueCategory using hot folder but hybris oob expecting sequenceNo in VariantValueCategory as mandatory.

For my requirement we receive csv from source system and we are using hybris oob hot folder mechanisim to create VariantValueCategory only we are facing issue hybris OOB expects sequenceNo in variantValueCategory

how can we over come or over ride that behaviour

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member664713
Active Participant
0 Kudos

Hi , You can pass sequenceNo through csv file. I did the following mapping , it's working

 <bean id="batchVariantCategoryValueConverter"
         class="de.hybris.platform.acceleratorservices.dataimport.batch.converter.impl.DefaultImpexConverter"> 
         <property name="header">
             <value>INSERT_UPDATE VariantValueCategory;code[unique=true];name;supercategories(code);sequence;catalogversion(catalog(id),version[default='Staged']);allowedPrincipals(uid)[default='customergroup']</value>
         </property>
         <property name="impexRow">
             <value>;{0};{1};{2};{3};{4};</value>
         </property>
     </bean>
Former Member
0 Kudos

Hi I understood.

But our source csv we don't have any reference for sequenceno.Is any way we can hanle that scenario?