How to Add a Data Object to a Data Source

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

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

  1. 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.

  2. 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.

  3. 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.

See Also

Other Resources

Managing Data Sources

How to Use the Profiles Schema Manager

About the Profiles Schema Manager