Product Administration Guide > Product Classes >

Exporting or Importing Classes


You can export a class or the whole class structure to another database. When you export a class, the following parts are included in the export:

The products in the classes are not exported.

When you export the whole class structure, all classes and subclasses are exported, along with the items listed above. Products are not exported.

When you export a class or the class structure, an XML file is created in a location you specify. The XML file contains the exported class structure. When you import this class structure, the system reads the XML file and synchronizes the class system of the import database to the XML file. The XML file takes precedence, and the class system is modified to reflect the portion of the class system in the XML file.

For example, in the XML file the subclass shoes, has the parent class footwear. In the import database the subclass shoes has the parent class Wardrobe. After importing the XML file, the subclass shoes will have the parent class footwear.

Use the following process to update the class structure in database B with changes from database A.

  1. Back up database B.
  2. Export the desired classes from database A.
  3. Import the classes to database B.
  4. Compare the updated class structure and list of values definitions in database B with database A.
  5. Verify that components in affected customizable products in database B have the correct attributes.

Use the following process to update both the products and class structure in database B with changes from database A:

  1. Use the process above to update the class structure in database B.
  2. Export the products from database A, except customizable products.
  3. Import the products into database B. Verify that the products are in the correct classes and inherit the correct attributes.
  4. Export customizable products from database A.
  5. Import customizable products to database B. For each customizable product, verify that the component products are present and have the correct attributes.

To export a class or the whole class structure

  1. Review the processes above.
  2. Navigate to Application Administration > Class Administration.
  3. The Class Administration view appears.

  4. Select the class you want to export.
  5. From the Classes menu, choose Export Class.
  6. The Class Export dialog box appears.

  7. To export the class click Export in the Class Export dialog box. To export the whole class system, click Export All.
  8. A Save As dialog box appears. If the database is remote, a download dialog box also appears.

  9. Browse to the location where you want to store the file, specify the file name, and then click Save.
  10. The system creates an XML file containing the exported class structure and stores it at the location you specified.

  11. Close the Class Export dialog box.

When you import a class structure, you must import the entire contents of the export file. You cannot choose which classes in the file to import.

To import a class structure

  1. Review the processes above.
  2. Navigate to Application Administration > Class Administration.
  3. From the Classes menu, choose Import Class.
  4. The Class Import dialog box appears.

  5. Click Browse, locate the XML file containing the class structure you want to import, and then click Open.
  6. In the Class Import dialog box, click Import.
  7. The new class structure is imported into the database.

  8. From the Show drop-down list, choose Class Explorer.
  9. In the Class Explorer tree display, expand classes as needed to verify that the imported classes are correctly placed.

 Product Administration Guide 
 Published: 23 June 2003