You are here: Catalog System > Importing Catalog Data Using APIs

Importing Catalog Data Using APIs

Catalog data from another EPiServer Commerce site to your EPiServer Commerce site

If you are moving a catalog from another EPiServer Commerce site into your EPiServer Commerce site, there is a catalog import and export feature that uses XML to make this task straightforward.

Catalog data from a non-EPiServer Commerce site to your EPiServer Commerce site

If you are moving data from a non-EPiServer Commerce site into an EPiServer Commerce site, you can use the catalog CSV import feature. The CSV import requires the end user to map fields from the non-EPiServer Commerce catalog system to matching catalog meta data fields in target EPiServer Commerce site. This can be problematic because EPiServer Commerce catalog system meta data fields may differ from one implementation to the next, depending on how the catalog system is configured.

Catalog data from a non-EPiServer Commerce site to your EPiServer Commerce site

The only other way to import data is for the developer to write a utility to import the data from the other system into EPiServer Commerce using the Catalog APIs. We have documented sample code that shows how to use Catalog System API data transfer objects being to create a catalog entry in the EPiServer Commerce here:

You would need to write code to iterate over your collection of non-EPiServer Commerce catalog entries. For each non-EPiServer Commerce entry, map the appropriate data fields from the other system to the corresponding properties of the EPiServer Commerce entry you create. If you choose to write this tool, make sure to copy all of the config files and references from your EPiServer Commerce project to the new utility project.

It is NOT advisable to try importing directly into the EPiServer Commerce catalog system database unless you have a full understanding of how the database works.

 

 

 


Last updated: 2011-05-17 | Copyright © EPiServer AB | Send feedback to us