Publish business accounts and contracts

Some of the store database assets, (business accounts, and contracts) cannot be loaded by the loading utilities. We can publish these database assets using the Administration Console or from the command line, as part of the Publish process, or we can publish business accounts and contracts using their corresponding commands.


Task info

The following commands are used to publish business accounts and contracts:

Business account assets are included in the form of XML files in some of the starter store archives provided with WebSphere Commerce. However, it is recommended created business account assets using the tools provided, rather than creating XML files for these assets. The instructions for publishing business accounts are included in the following sections, in case you choose to publish the corresponding XML files provided with the starter store archives, or create our own.

If we are not using Administration Console to publish the business accounts or contracts, the store and catalog assets must be published before we can publish business accounts, and contracts. In particular, you need the store and catalog identifiers, as well as the ID for the organization that owns the store, as well as the IDs for any buyer organizations associated with the contract. If the terms and conditions of your contract do not specify a particular catalog, you do not need to publish a catalog before publishing a business account or contract. If you publish these assets using Administration Console or the command line publish, ensure that we select the catalog option, or that the store already has a published catalog. If you publish these assets using the corresponding commands, ensure that you have already loaded the assets listed above into the database.

We can publish business accounts and contracts using the Publish wizard, or using the PublishStore utility. In order to publish the business accounts and contracts using either the Administration Console or the command line, the assets must be packaged in the store archive format.


Procedure