The Publish utility in the Administration Console
allows you to publish a variety of store related components, including
organization structures, predefined user roles, access control policies, as
well as as collections of store assets that create a catalog or a storefront.
The Publish utility also allows you to publish individual stores, or composite
store archives, which include all the components listed here. For a list of the
sample store archives available with WebSphere Commerce, see
Sample store archives.
If you are publishing a composite store archive, see Publishing a store archive from the Administration Console.
WebSphere Commerce supports the following advanced publishing options:
Publishing organization structures store archives
Publishing all other component store archives
- Publishing a store archive of one type more than once per instance
Publishing organization structure store archives
Publishing an organization structure store archive creates the organization structure, predefined user roles, and necessary access control policies for the selected business model in the database.
To publish an organization structure store archive, do the following:
- Ensure that you have not previously published an organization structure in the instance. Note that composite store archives also include organization structures. If you have already published an organization structure in the instance, you will have to create a new instance before publishing another organization structure.
- Follow the steps in Publishing a store archive from the Administration Console. Organization structure store archives are available from the business model views.
Publishing other component store archives
In order to publish any component store archives other than an organization structure store archive, you must first publish either a composite store archive, or an organization structure, as all component store archives must belong to an organization structure.
To publish a component store archive, do the following:
- Ensure that you have previously published an organization structure in the instance, or created an organization using the Organization Administration Console. Note that composite store archives also include organization structures.
- Determine the name of the organization to which you will publish the component.
- Follow the steps in Publishing a store archive from the Administration Console. Component store archives are available from the business model views. Enter the name of the organization to which the component will be published in the Parameters page of the Publish utility. For more information on the parameters, see Publish utility parameters by store archive.
- Update the memberregistrationattributes.xml file with the new organization structure. For more information, see the WebSphere Commerce Development online help.
Publishing multiple store archives of one type per instance
We do not recommend that you publish more than one type of composite store archive or organization structure store archive in the same instance (for example, do not publish a ConsumerDirect.sar and DemandChain.sar in the same instance), or that you publish the same composite store archive or organization structure store archive more than once, as doing so may overwrite data previously published. However, you can publish a second store of the same type that you have already published (for example a second consumer direct store, or a second B2B direct store).
Note that you can only publish a second store, if you have already published the composite store archive for that type, (for example ConsumerDirect.sar) or the corresponding organization structure store archive (for example ConsumerDirectOrganziationStructure.sar).
When publishing a second store, you must change at least one of the parameters in the Parameters page for the store archive. The new parameters will create a new instance of the store when you publish the store archive. You can only publish multiple stores based on the following store archives:
- ConsumerDirectStore.sar
- B2BDirectSite.sar
- CatalogAssetStore.sar
- ResellerStorefrontAssetStore.sar
- HostedStorefrontAssetStore.sar
- SupplierAssetStore.sar
To publish multiple store archives of one type per instance, do the following:
- Ensure that you have previously published the composite store archive or organization structure for the type of store archive your are publishing multiple times.
- Determine the name of the organization to which you will publish the component.
- Follow the steps in Publishing a store archive from the Administration Console. Component store archives are available from the business model views. Enter the name of the organization to which the component will be published in the Parameters page of the Publish utility. For more information on the parameters, see Publish utility parameters by store archive.
- Change at least the store directory and store identifier parameters on the parameters page for the store archive.
- Ensure that you change the store directory name in the cachespec.xml file to match the store directory that you specified in step 4. For more information on the cachespec.xml file, see Publishing a store archive from the Administration Console.
Important: