BusinessData Element

The BusinessData element configures the business data to be staged. Each data type is configured by using its own BusinessData element.

Put the BusinessData element within the BusinessDataProjectProperties element.

The BusinessData element is a container for ExportOption and ImportOption elements.

The following table lists the attributes of the BusinessData element.

Attribute

Data Type

Description

BusinessDataId

String

Specifies a GUID that uniquely identifies a business data object. By default, a GUID is generated and assigned when the object is created. Two business data objects are considered equal if their business data GUIDs are the same. See the Remarks section for more information about how the business data GUID is used.

When you construct a business data XML configuration file, specify a unique GUID for the business data by using a series of alphanumeric characters in the following format:

XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.

BusinessDataTypeName

String

The name of the business data to stage. Valid values are as follows:

ValueDescription
CatalogStage catalog data. See ExportOption Element and ImportOption Element for additional controls on staging catalog data.
MarketingStage marketing data. This includes all advertisements and discounts. No direct mail data is staged. See ExportOption Element and ImportOption Element for additional controls on staging promotional codes or coupons and cache update after data import.
OrdersStage the transaction configuration data. See ImportOption Element to specify cache update of the data after data import.
SiteTermsStage the site term data. See ImportOption Element to specify cache update of the data after data import.

Remarks

Business data represents a set of business objects from one or more Commerce Server systems. Business data is staged with similar export and import options. Each system can have multiple business data, each one with different export and import options.

If a BusinessDataTypeName is not set to a valid type, the project deployment will fail.

CSS uses the BusinessDataID to construct the file name that contains the business data that is exported and transmitted throughout the staging topology. This data is stored in the project local directory. A file is created for each type of business data that is selected for export. For example, if Marketing data and promotion codes are selected for export and the BusinessDataID for Marketing is fbdbfb30-8946-4f8a-9497-b923a4952b47, the exported Marketing data will be stored in a file that is labeled fbdbfb30-8946-4f8a-9497-b923a4952b47.xml. Additionally, the promotional code data will be stored in a file that is labeled fbdbfb30-8946-4f8a-9497-b923a4952b47_Promocode.csv.

Example

The following example specifies that both Orders and SiteTerms are to be staged.

<BusinessData BusinessDataID="6754835f-1638-47db-8ad2-e71181004523" BusinessDataTypeName="Orders" /> 
<BusinessData BusinessDataID="2f5f45e8-b60b-4efc-8e3f-37d829cab29e" BusinessDataTypeName="SiteTerms" /> 

See Also

Other Resources

Business Data Staging Options

BusinessDataProjectProperties Element

ExportOption Element

ImportOption Element

CSS Business Data XML Configuration File Syntax Elements