How to Add a Custom Attribute to a Profile Definition
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
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
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.
In the Properties dialog box, on the Custom Attributes tab, click New.
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.
Click OK.
To return to Commerce Server Manager, click OK.
The profile definition is saved with the new custom attribute.