Uploading and running an import in a Business Manager Import & Export module
Key Takeaway
Upload first, then import. Put the file on the instance in the "Import and Export Files" section, where Business Manager unzips a .zip file automatically. Then run the import, which for a catalog is "Import" in the "Catalogs" section, and select the uploaded file.
A Business Manager Import & Export module is the manual way to load data, such as a catalog, into a B2C Commerce instance. You upload an XML file that follows the B2C Commerce schema onto the instance, and then you run the import. The import validates the file and writes its data into the instance database. During development you start with manual imports like this, and later you automate recurring imports with jobs.
The three steps of every import
Every import follows three basic steps:
- Create an XML file that conforms to the B2C Commerce schema for that type of object.
- Transfer the file to the instance.
- Import the file into the instance database, either manually in Business Manager or with a custom pipeline.
A file can't be imported unless it is stored on the instance you are importing into, so the transfer has to happen before the import.