How to Add a Data Object to a Data Source
You use the Profiles Schema Manager to add a data object to a data source. You select the table in the database or the class in the LDAP source that contains the column where you want to store the data collected for a property in a profile definition.
Before you use the Profiles Schema Manager to create a data object, you must create a data source. The Profiles Schema Manager will not modify the underlying data store. You must make any changes directly to the database or to the LDAP store. In addition, make sure there is a primary key data member on the data object, or the data object will not map correctly.
To add a data object to a data source
Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Data Sources, expand the data source to which you are adding a data object, right-click Data Objects, and then click New Data Object.
In the New Data Objectdialog box, do the following:
Use this
To do this
Object Name
Select the data object from the drop-down list that is the name of a table or an LDAP class in the underlying data store.
You must include a primary key data member for the data object with which to map profile properties before you create a new profile of that type. Otherwise, the data object will not map correctly.
Display Name
Type a display name that contains a maximum of 127 Unicode characters.
Description
Type a description for the data object. The description can contain a maximum of 127 Unicode characters.
Click OK.
The data object is saved. You can add data members to it and you can use it to map a profile definition to a database column or an LDAP class.