Jaa


How to Add a Custom Attribute to a Profile Definition

You use the Profiles Schema Manager to add custom attributes, such as a property name like "City", 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 in the Profiles Schema Manager.

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 Data Transformation Services (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.

  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 a display name that contains 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

Other Resources

Managing Profile Definitions

How to Use the Profiles Schema Manager

About the Profiles Schema Manager