presentationConfiguration Element

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The presentationConfiguration element in the Web.config file contains general configuration information about the presentation configuration files in use by the Profiles System of Commerce Server.

Put the presentationConfiguration element within the ordersWebService element. The presentationConfiguration element has no attributes.

cultureConfig Element

The cultureConfig element describes a presentation configuration file.

The following table lists and describes the attributes of the cultureConfig element.

Attribute

Data Type

Description

filePath

String

The name and path of a culture-specific presentation configuration file. If a fully specified path is not included with the file name, the file with the specified name will be searched for in the default directory.

The data in these presentation configuration files will be returned through the GetSearchableProperties method.

This attribute is required.

isDefault

Bool

If true, the presentation configuration file will be the default when presentation information is not available in the user-requested culture. If false or if this attribute is not specified, the presentation configuration file will not be the default. Only one cultureConfig element can be marked as the default.

This attribute is optional.

Remarks

Note

At least one cultureConfig element should be specified in the presentationConfiguration element. If none are specified, an NT event will be logged and the Web service will continue to run.

Example

The following example shows how to specify two presentation configuration files with one being the default. The files will be searched for in the default directory.

<presentationConfiguration>
    <cultureConfig 
       filePath="en_OrdersPresentationInfo.xml" 
       isDefault="true" 
    />
    <cultureConfig filePath="de_OrdersPresentationInfo.xml" />
</presentationConfiguration>

See Also

Other Resources

Web.Config Configuration Settings