Bagikan melalui


How to Import an Inventory Catalog

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This topic describes how to import an inventory catalog.

How to import an inventory catalog

  1. Click Start, point to Microsoft Commerce Server 2007 , and then click Catalog Manager.

  2. In Commerce Server Catalog Manager, in the Views pane, click Inventory Catalogs.

  3. In the Task pane, click Import Inventory Catalog.

  4. On the Welcome to the Import Inventory Catalog Wizard page, click Next.

  5. On the File location page, do the following:

    Use this

    To do this

    Location

    Type the location of the file you want to import or click Browse to locate the file you want to import.

    Mode

    Select the import mode from the drop-down list.

    The following options are available:

    • Import. Select to import the XML file without validating.

    • Validate. Select to validate the XML file before you import the catalog. This mode guards against a failed import, such as importing only part of a file into the database.

    • Both. Select to import the XML file and to validate the file before you import the catalog.

      ms943118.alert_note(en-US,CS.70).gifNote:
      In this option, the XML file is validated first and then it is imported only if the file is a valid catalog XML file.

    Type

    Select the type of import you want to perform. The following options are available:

    • Incremental. If the catalog you are importing is already in the Catalog System, this mode will update the existing catalog data.

      If the catalog does not exist, Commerce Server creates a new catalog.

    • Replace. If the catalog you are importing is already in the Catalog System, this mode will delete the existing catalog and replace it with a new catalog. If the catalog does not exist, Commerce Server creates a new catalog.

    Start Date

    Select the start date and time from the drop-down calendar.

    Only the products and categories in the XML file that were modified before the start date will be imported.

    ms943118.alert_note(en-US,CS.70).gifNote:
    If you selected Replace as the Type, you will not see the Start Date option because the operations occurs after you close the wizard.

    Advanced

    Select to open the Advanced Import Properties page.

  6. Click Next.

  7. If you did not select the Advanced check box, go to step 10.

  8. If you did select the Advanced check box, on the Advanced Import Properties page, select the catalogs from the file specified in step 5, and then click Next.

  9. On the second Advanced Import Properties page, do the following:

    Use this

    To do this

    Import Properties

    Select or clear the enumerated list of properties you want to import.

    Maximum errors before terminating operation

    Type the maximum number of errors that can occur before the operation stops. You choose this number yourself based on your business needs.

    Import schema changes

    Select to allow for catalog schema changes in the import process such as updating existing property and catalog definitions.

    Transact the import process

    Select to transact the import of individual catalogs in the XML file. Any errors that occur during the import process will cause the entire catalog to return to the same state it was in before the import. For example, if the product "XX" has an error during the import, the entire catalog import is rolled back to its original state.

    ms943118.alert_note(en-US,CS.70).gifNote:
    A single error in a catalog will roll back all updates to the catalog.

    Do not select this check box if you only want to transact the import of individual categories and products. This means that Commerce Server will ignore any errors that occur when importing individual products. For example, if the product "XX" has an error during the import, this product import is rolled back to its original state.  However, all other products in the catalog will still be imported.

  10. Click Next.

  11. On the Import Catalog Wizard Summary page, review the catalog import properties. To make changes, click Back. To create and import the catalog, click Create.

  12. On the Completing the Import Inventory Catalog Wizard page, click Finish.

See Also

Other Resources

Managing Inventory Catalogs

What is an Inventory Catalog?

How to Create a New Inventory Catalog

How to Edit an Inventory Catalog