I am new to Hybris and I still do not know how impex works. I would like to know how to make an impex script to update a description of a front tile component.
Thank you.
You can find here the syntax of the impex file :
Basically it's a csv file (semicolon-separated) with specific structure/header,
mode type[modifier=value];attribute[modifier=value];attribute[modifier=value];attribute[modifier=value]
Example :
Assuming we have the following Item type :
public class ProductModel {
private String code;
private String name;
}
The impex to import Products would be like :
INSERT Product ;code[unique=true] ; name[lang=en] ;name[lang=fr]
;123456; ; This a product name ;nom du produit
To answer your question specifically -> to Update the description of a front tile component, thte impex file should be something like :
INSERT_UPDATE Name_of_the_Component ;code[unique=true] ; description[lang=en]
;code of the component ; The description to update