impex generator
Pick a type, fill in your catalog ID and version — get paste-ready ImpEx. Macro definitions and column headers are handled for you.
output
// fill in the form and click generate
What usually breaks the import
- Define
$catalogVersionmacro at the top — catalog-version-aware types won't resolve without it - Put
[unique=true]on natural key columns — without it, reimports create duplicates instead of updating - Use
INSERT_UPDATE, notINSERT— plain INSERT fails if the item already exists - Promotions need a Groovy compile step after import; importing the rule alone does nothing
- Circular refs? Add
#% impex.setValidationMode("import_relaxed");before the dependent rows