cancel
Showing results for 
Search instead for 
Did you mean: 

how to write a impex file for staged to online on synchronized products

Former Member
0 Kudos

Hi Expert,

Thank you Advance, I want to synchronize products from staged to online through impex.Please provide the solution.

Thanks, Baswaraj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hope this is helpful.

$sourceVersion=sourceVersion(catalog(id),version[default='Staged'])[unique=true]; $targetVersion=targetVersion(catalog(id),version[default='Online'])[unique=true]; INSERT_UPDATE CatalogVersionSyncJob;code;$sourceVersion;$targetVersion;createNewItems;removeMissingItems;rootTypes(code)[mode=append] ;syncCatalogJob;testProductCatalog;testProductCatalog;true;true;CMSItem,CMSRelation INSERT_UPDATE CatalogVersionSyncCronJob; code[unique = true]; job(code);sessionLanguage(isoCode[default = $lang]); ; syncCronjob ; syncCatalogJob ; en

And if you want to schedule it regularly.

INSERT_UPDATE Trigger;cronJob(code)[unique=true];second;minute;hour;day;month;year;relative;active;maxAcceptableDelay ;syncCronjob;60;42;13;-1;-1;-1;false;true;-1

Answers (0)