Skip to Content
author's profile photo Former Member
Former Member

How can i create VariantValueCategory using hot folder

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 21, 2017 at 07:55 AM

    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>
    
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.