Tutorials > Contracts

Next >

Tutorial: Importing and exporting contracts

This tutorial explains how to import and export contracts through two separate methods. One method utilizes the WebSphere Commerce Accelerator user interface, and the other method involves importing or exporting the XML files that define the contract. Not all of the contract functionality is available through the Commerce Accelerator, and therefore importing and exporting the XML files directly often gives you more options. Your contracts may individually specify thousands of products, so it would not be practical in such cases to use the user interface to set up these contracts. In this tutorial we will first learn about the XML files that define contracts, and then we will import and export a contract using both the Commerce Accelerator and the XML files directly.

Learning objectives

After completing this tutorial, you should be able to import and export contracts using both the Commerce Accelerator, and the contract XML files directly.

Time required

Expect this tutorial to take 2 hours to complete.


This tutorial is designed for those people who are interested in learning how to import and export contracts into stores.


You have installed WebSphere Commerce Developer, and published the B2BAdvanced starter store.


Download the sample code zip file related to this tutorial. Included in the zip file is a useful utility that you can use to import and export accounts and contracts. This utility is explained in step 4. The zip file also includes sample accounts and contracts that you can use as references for complete XML syntax.

Lessons in this tutorial

Next >


Search Tips   |   Advanced Search