Share via


BusinessDataProjectProperties Element

The BusinessDataProjectProperties element contains the configuration elements that define the scope of business data to be staged and how the data is to be staged. The BusinessDataProjectProperties element is the root element for a business data XML configuration file.

The BusinessDataProjectProperties element is a container for BusinessProjectHeader, Source, Role, and BusinessData elements.

The following table lists the attributes of the BusinessDataProjectProperties element.

Attribute

Data Type

Description

xmlns:xsi

String

Specifies the XML namespace for the business data project XML configuration file. Its value is "http://www.w3.org/2001/XMLSchema-instance".

xmlns:xsd

String

Specifies the XML schema data type for the business data project XML configuration file. Its value is "http://www.w3.org/2001/XMLSchema".

BusinessProjectName

String

Specifies the name of the business data project. This attribute can be null.

Example

The following provides an example of a business data project configuration file that specifies to stage catalog, marketing, orders, and site term data from the site named StarterSite.

<?xml version="1.0" encoding="utf-8"?>
<BusinessDataProjectProperties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" BusinessProjectName="">
  <BusinessProjectHeader MajorVersion="1" MinorVersion="1" Revision="1" Build="1" />
  <Source>StarterSite</Source>
  <Role>Source</Role>
  <BusinessData BusinessDataID="8fda83ba-25ad-4540-8f6b-03eaa24b6fb6" BusinessDataTypeName="Marketing">
    <ExportOption Name="PROMOCODE" Val="Full" />
    <ImportOption Name="PROMOCODE" Val="Full" />
    <ImportOption Name="REFRESHCACHE" Val="NO" />
  </BusinessData>
  <BusinessData BusinessDataID="777b7fd9-524b-4092-b8bd-2b5518725f1f" BusinessDataTypeName="Catalog">
    <ExportOption Name="MODE" Val="FULL" />
    <ExportOption Name="SCHEMAEXPORTTYPE" Val="RELEVANT" />
    <ExportOption Name="EXPORTDELETEDITEMS" Val="YES" />
    <ExportOption Name="EXPORTEMPTYVALUES" Val="YES" />
    <ExportOption Name="CATALOGSTOEXPORT" Val="Adventure Works Catalog,AW VC Pesos,AWC_Virtual" />
    <ExportOption Name="CATALOGSTOEXPORT_SOURCECULTURE" Val="Adventure Works Catalog,AW VC Pesos,AWC_Virtual" />
    <ExportOption Name="PROPERTIESTOEXPORT_SOURCECULTURE" Val="BaseCatalog Name,Brand,Catalog Name,Category Name,MultipleChoice Custom 1,List Price,Definition Name,Description,Display Name,Type,Image_filename,Image_height,Image_width,Date of Introduction,Is Searchable,Last Modified,Name,OnSale,Primary Parent Category,SKU,Color,Product Id,Size,Category Pricing,VariantCode,VariantId" />
    <ExportOption Name="EXPORTASVIRTUALCATALOG" Val="YES" />
    <ExportOption Name="EXPORTDEPENDENTBASECATALOGS" Val="YES" />
    <ExportOption Name="CATALOGSETSTOEXPORT" Val="NO" />
    <ImportOption Name="MODE" Val="FULL" />
    <ImportOption Name="ERRORTHRESHOLD" Val="1" />
    <ImportOption Name="OVERWRITERELATIONSHIPS" Val="YES" />
    <ImportOption Name="TRANSACTIONMODE" Val="NO" />
    <ImportOption Name="MATERIALIZEVIRTUALCATALOG" Val="NO" />
    <ImportOption Name="IMPORTSCHEMACHANGES" Val="YES" />
    <ImportOption Name="GENERATEFULLTEXTINDEXES" Val="NO" />
    <ImportOption Name="REFRESHCACHE" Val="NO" />
  </BusinessData>
  <BusinessData BusinessDataID="6754835f-1638-47db-8ad2-e71181004523" BusinessDataTypeName="Orders" />
  <BusinessData BusinessDataID="2f5f45e8-b60b-4efc-8e3f-37d829cab29e" BusinessDataTypeName="SiteTerms" />
</BusinessDataProjectProperties>

Remarks

Business data projects created through the Commerce Server Staging (CSS) Microsoft Management Console (MMC) generate business data configuration XML files. These files are located in %COMMERCE_SERVER_ROOT%/Staging/Projects. Business data configuration files are defined for both the source staging server and the destination server. These files define how data is exported from the source database and imported into the destination database.

See Also

Other Resources

Business Data Staging Options

BusinessProjectHeader Element

BusinessData Element

Source Element

Role Element

CSS Business Data XML Configuration File Syntax Elements