could any body explain the fields macros, headers, data, and bean shell in .impex file? what are the symbols like #,$ meaning in .impex file? what is the difference between .impEx and .imPex?
3 Answers
Impex files uses Comma-Separated Values, it allows for exemple creating, updating, removing items.
$ Macro definitions for exemple $namemacro=name1 each time we have namemacro in the impex file, it is replaced by name1.
https://wiki.hybris.com/display/release5/Importing+and+Exporting
ImpEx is an integrated text-based import/export extension for creating, updating, removing, and exporting platform items.
For Example, I've created a demo project named training in which I can add product catalog by importing this ImpEx
$productCatalog=trainingProductCatalog $classificationCatalog=trainingClassification $catalogVersion=catalogversion(catalog(id[default=$productCatalog]),version[default='Staged'])[unique=true,default=$productCatalog:Staged] $languages=ja,en,de,zh
Product catalog
INSERT_UPDATE Catalog;id[unique=true] ;$productCatalog