After create a data model, we need to insert some sample data in Data model which can be use for testing purpose .
Inserting data in data model most common way.
First, you need to create data manually in the Backoffice :
ImpEx is an out-of-the-box import-export framework. It is integrated text-based import/export extension . You can create, update, export, and remove items in Hybris Platform.
In live operation:
In migrations:
In development:
Header syntax:
Operation itemType; attributes(refAttr)[modifiers];...
Example
INSERT Product; code; name[lang=en];
UPDATE Bird; code[unique=true]; name[lang=en];
INSERT_UPDATE User; userID[unique=true]; groups(uid);
REMOVE Media; code[unique=true];
Data row syntax:
attr1value; attr2value; ...
Example
;ABC 123; Car;
;xyz; abc;
;12345ABC;