Skip to Content

Explain Hybris impex file with syntax and add some sample products into store ?

Hello Hybris Experts Good day...

Am venkata karthik new to Hybris environment....gone through the Hybris wiki and trying to add some products into store....

Could you please explain me about the Hybris impex file and add some sample products into store ?

Thanks in Advance,

Appreciate your help R V karthik

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2016 at 08:40 PM

    Hybris Impex file syntax contains the following information:

    1) Header row:

      <SQL Operation to perform> <Table name> <Columns> (1 column with preferably a uniqueID>.
       INSERT_UPDATE              Product;    code[unique=true];productname
    
    

    2) Values that we need to insert in those columns.

     ;603;Microwave
     ;4278;Bag
    
    

    So these values are for the 2 columns code and productname and the table name is PRODUCT. We use semi-columns to separate the contents in the impex files.

    As we don't want to add anything under the Table 'Product', in the values section, we keep it blank and that is why the line for values starts with a semi-column.

    Once you have created the impex file, you can place in under yourextension/resources/impex and then go to HAC and do the following:

    •Navigate to Platform/Update

    •Check only yourextension in Project data settings, then click on Update

    This will load your data in the DB.

    You can follow this link to get a better understanding:

    https://help.hybris.com/6.0.0/hcd/bf72f3439f8a4575b328edcb9236a262.html#loiobf72f3439f8a4575b328edcb9236a262

    Thanks,

    Manpreet

    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.