addressMap Tag

The addressMap tag is a container for the properties that will be mapped from the Profiling System to the Order System at runtime. This tag exists within an orders tag because it is specific to the Order System in Commerce Server. The addressMap tag contains two tags, profileDefinition and property.

profileDefinition Tag

This tag denotes the name of the profile definition that serves as the schema for an address element.

The following table lists the attributes of the profileDefinition tag.

Attribute Data Type Description
name String The name of the profile. The default value is Address.

This attribute is required.

property Tag

This tag denotes a property mapping from the Profiling System to the Order System. Multiple instances of this tag can occur.

The following table lists the attributes of the property tag.

Attribute Datatype Description
from String The canonical property name in the Profiling System.

This attribute is required.

to String The field name in the Address dictionary used by the Order System to which the profile property should be mapped.

This attribute is required.

The following table lists the default values implemented by this configuration section.

From To
GeneralInfo.first_name first_name
GeneralInfo.last_name last_name
GeneralInfo.address_line1 address_line1
GeneralInfo.address_line2 address_line2
GeneralInfo.city city
GeneralInfo.region_code region_code
GeneralInfo.postal_code postal_code
GeneralInfo.ship_to_country ship_to_country
GeneralInfo.ship_to_state ship_to_state
GeneralInfo.country_code country_code
GeneralInfo.address_id address_id

Example

<orders>
  <addressMap>
    <profileDefinition name="profile-definition-name" />
    <property from="profile-property" to="address-dictionary- property" />
  </addressMap>
</orders>

See Also

Configuration Services

Copyright © 2005 Microsoft Corporation.
All rights reserved.