overview a. Jobs overview b. Import schema c. Export schema 2. Basic B2B Customer import and export a. Fields configuration b. Data converter c. Import/export Strategy d. Strategy events e. Import and validation processors f. Button configuraion reference g. Export processor h. Export template processor 3. Import and export customization a. Data Converter with tags support b. Tags Normalizer c. Strategy with tags support
Configurable entity import and export process is managed by EntityConfigBundle. Field configuration is avalialable in “importexport” configuration scope. • Minimum import/export configuration should 4 defined services (DataConverter, Strategy, Import/ImportValidation and Export Processors). • In addition, it is possible to define processor to export file template for data import Import and Export
for headers mapping and converting imported data to nested representation of entity and its relations. • Use customized or ConfigurableTableDataConverter orocrm_sales.importexport.data_converter.b2bcustomer: parent: oro_importexport.data_converter.configurable Import and Export git checkout tags/step-1
logic. • Use customized or ConfigurableTableDataConverter orocrm_sales.importexport.strategy.b2bcustomer.add_or_replace: parent: oro_importexport.strategy.configurable_add_or_replace Import and Export git checkout tags/step-2
Three steps are required for adding tags to import and exprort: 1. Create DataConverter with tags to Tags List header conversion rule and two methods to convert tag names list 2. Add Normalizer to load tags by their names 3. Add Strategy to save taggins
Serializer Component. • Serializer converts plain data to entities and back using normalizers. • Oro Serialier and Normalizers have additional parameter “context” to make normalization process more flexible. orocrm_sales.importexport.normalizer.b2bcustomer: parent: oro_importexport.serializer.configurable_entity_normalizer tags: - { name: oro_importexport.normalizer } Import and Export git checkout tags/step-8