You can customize the import/export process by adding your own components and registering them with the PromotionImportExport component. In order to be used automatically by the existing import/export classes, your components must implement the atg.commerce.promotion.PromotionImportExportIntegrator interface.

The interface includes four methods:

Extending these methods allows you to insert your custom code at different points in the import process performed by the PromotionImportExport component.

After creating the component, configure the integrators property of the PromotionImportExport component to add your new component:


Your components are inserted into the import process.