How to Create a Site Term or Site Term Group

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

You can use the Profiles Schema Manager to add new site terms or site term groups to Commerce Server. You can also perform this task using the Site Terms Editor in Customer and Orders Manager. For information about adding a site term in Commerce Server Customer and Orders Manager, see How to Create a Site Term.

When you add a new site term to Commerce Server, you define values, called terms, for the site term. You use site terms to list specific values for a profile property. After you create a site term, you can assign it as the value of a profile property.

For example, you create a Favorite color site term with the values blue, green, and purple. Then, you define a "favorite color" profile property with the type "site term", and assign the Favorite color site term to it. When users select a color for the favorite color property, they are limited to the choices of blue, green, and purple. You use the site terms editor screen in the Profiles Schema Manager to add new site terms.

You can create site term groups to help you organize site terms in the site terms editor screen. For example, in addition to favorite color, you can create the following site terms with corresponding values and make them a site term group containing user preferences:

  • Brand (name brand, generic)

  • Quality (lowest price, best quality)

  • Purchase (online, catalog, in store)

To create a site term

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, and then click Site Terms.

  2. In the Site term structure list, expand the site term group where you want to create the new site term.

  3. Click Add.

  4. In the Add dialog box, select Add a new site term, and then click OK.

  5. In the Detailed Information pane, in the Site Terms Attributes section, do the following:

    Use this

    To do this

    Name

    Type a programmatic name for the new site term. 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 new site term. The description can contain a maximum of 127 Unicode characters.

  6. In the Terms section, click New.

    Use this

    To do this

    Term name

    Type a programmatic name for the new term value. 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.

  7. To accept the term, click Accept.

  8. To add an additional term to the site term, click New, type the term name and display name for the new term, click Accept, and then click Apply.

  9. Repeat step 8 for each additional term to be defined for the new site term.

  10. To save the site term, click the Save icon on the toolbar.

To create a site term group

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, and then click Site Terms.

  2. In the Site term structure pane, expand the site term group where you want to create the new site term group.

  3. Click Add.

  4. In the Add dialog box, select Add new group, and then click OK.

  5. In the Detailed Information pane, do the following:

    Use this

    To do this

    Name

    Type a programmatic name for the new site term group. 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 new site term group. The description can contain a maximum of 127 Unicode characters.

  6. Click Apply.

  7. To save the site term group, click the Save icon on the toolbar.

See Also

Other Resources

How to Add Site Terms to a Profile Definition

What Are Site Terms?

How to Create a Site Term

Managing Site Terms and Site Term Groups