Adding a Profile Definition to a Profile Definition

You can use the Profiles resource to associate profiles. You can also perform this task using the Profile Designer module in Commerce Server Business Desk. For more information, see Adding a Profile Definition to a Profile Definition.

For example, you can add three properties to the User Object profile definition, and use them to reference three instances of the Address profile definition (for example, billing, shipping, and home address). This would allow you to use the Address profile definition to collect user address information on your Web site, while having the name of the address profile for the user stored in the user profile, so that you can present the data in the profiles together on your Web site and in reports.

To add a profile definition to a profile definition

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Profile Definitions, and then click the profile definition that you want to add a profile definition to.

  2. In the profile designer screen, in the Properties list, expand the property group that you want to add the new property to, and then click Add.

  3. In the Add -- Web Page Dialog dialog box, select Add a new property, and then click OK.

  4. In the profile designer screen, in the Attributes section, do the following:

    Use this To do this
    Name Type the programmatic name for the property. The name can contain a maximum of 127 alphanumeric characters and the underscore (_) symbol. The name cannot contain spaces.
    Display Name Type the display name you want displayed in Business Desk. The display name can contain a maximum of 127 Unicode characters.
    Description Type a description for the property. The description can contain a maximum of 127 Unicode characters.
    Type Select Profile from the Type drop-down list.
    Type Reference Click the ellipsis [...] button to open the Profile Selection dialog box. In the SelectaProfile list, expand the Profile Catalog, and then select the profile definition you want to add to the property.
  5. Click OK, and then click Apply.

    The profile definition is assigned to the property.

  6. To save the profile definition, click Save on the toolbar.

The profile definition is saved with the property change.

See Also

Profile Definitions

Adding Properties to Profile Definitions

Adding Site Terms

Profile Objects

Profile Schema


All rights reserved.