test-magenx / module-import-export
N/A
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.3.0||~7.4.0
- ext-ctype: *
- magento/framework: 103.0.*
- magento/module-backend: 102.0.*
- magento/module-catalog: 104.0.*
- magento/module-eav: 102.1.*
- magento/module-media-storage: 100.4.*
- magento/module-store: 101.1.*
- magento/module-ui: 101.2.*
This package is auto-updated.
Last update: 2024-11-13 07:59:07 UTC
README
This module provides a framework and basic functionality for importing/exporting various entities in Magento. It can be disabled and in such case all dependent import/export functionality (products, customers, orders etc.) will be disabled in Magento.
Installation
The Magento_ImportExport module creates the following tables in the database:
importexport_importdata
import_history
All database schema changes made by this module are rolled back when the module gets disabled and setup:upgrade command is run.
For information about a module installation in Magento 2, see Enable or disable modules.
Structure
Files/
- the directory that contains sample import files.
For information about a typical file structure of a module in Magento 2, see Module file structure.
Extensibility
Extension developers can interact with the Magento_ImportExport module. For more information about the Magento extension mechanism, see Magento plugins.
The Magento dependency injection mechanism enables you to override the functionality of the Magento_ImportExport module.
Layouts
This module introduces the following layout handles in the view/frontend/layout
directory:
adminhtml_export_getfilter
adminhtml_export_index
adminhtml_history_grid_block
adminhtml_history_index
adminhtml_import_busy
adminhtml_import_index
adminhtml_import_start
adminhtml_import_validate
For more information about a layout in Magento 2, see the Layout documentation.
UI components
You can extend an export updates using the configuration files located in the view/adminhtml/ui_component
directory:
export_grid
For information about a UI component in Magento 2, see Overview of UI components.
Public APIs
-
Magento\ImportExport\Api\Data\ExportInfoInterface
- getter and setter interface with data needed for export
-
Magento\ImportExport\Api\Data\ExtendedExportInfoInterface
- extends
Magento\ImportExport\Api\Data\ExportInfoInterface
. Contains data for skipped attributes
- extends
-
\Magento\ImportExport\Api\ExportManagementInterface
- Executing actual export and returns export data
For information about a public API in Magento 2, see Public interfaces & APIs.
Additional information
Message Queue Consumer
exportProcessor
- consumer to run export process
Learn how to manage Message Queues.
Create custom import entity
- Declare the new import entity in
etc/import.xml
- Create an import model
Create custom export entity
- Declare the new import entity in
etc/export.xml
- Create an export model
You can get more information about import/export processes in magento at the articles: