Adding a Custom Attribute to a Profile Definition

You use the Profiles resource to add custom attributes to your profile definitions. Custom attributes on profile properties are placeholders for storing application-specific information. The type of these attribute/value pairs must be string. Profile definition custom attributes are available only within the Profiles resource.

The following table lists profile definition custom attributes.

Custom attribute Description Values
DefaultParentURL Specifies where profiles are stored in the underlying Lightweight Directory Access Protocol (LDAP) store. The URL.
DWClassName Specifies the name of the object (in this case a table) in the Data Warehouse to which the profile will export data. If the class (table) does not exist in the Data Warehouse, the DTS task will create it. The name of the table in the Data Warehouse.

To add a custom attribute to a profile definition

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Profile Definitions, right-click the profile definition to which you want to add a custom attribute, and then click Properties.
  2. In the Properties dialog box, on the Custom Attributes tab, click New to display the Custom Attribute dialog box.
  3. In the Custom Attribute dialog box, do the following:
    Use this To do this
    Name Type a programmatic name for the new attribute. The name can contain a maximum of 127 alphanumeric characters and the underscore (_) symbol. The name cannot contain spaces.
    Display Name Type the name you want displayed for the attribute. The display name can contain a maximum of 127 Unicode characters.
    Description Type a description for the attribute. The description can contain a maximum of 127 Unicode characters.
    Value Type the value of the attribute.
  4. Click OK.
  5. To return to Commerce Server Manager, click OK.

The profile definition is saved with the new custom attribute.

See Also

About the Profiles Resource

Creating a New Data Source in the Profiles Resource

Adding Properties to Profile Definitions in the Profiles Resource

Managing Profile Definitions in the Profiles Resource

Copyright © 2005 Microsoft Corporation.
All rights reserved.