Managing Profile Definitions

You can use the Profiles resource to change the display name and description for a profile definition and to add custom attributes to a profile definition. To create a new profile definition, you can copy an existing profile definition and use the profile designer screen to change the name and attributes of the new profile definition.

Commerce Server 2000 provides you with several profile definitions when you unpack the Blank Solution Site that you can copy to create new profile definitions to suit your needs. You can also delete a profile definition that no longer meets your needs, and delete a custom attribute from a profile definition. You cannot recover a custom attribute after you have deleted it; if you delete a custom attribute by mistake, you must recreate it.

To change a profile definition

To copy a profile definition

To delete a profile definition

To delete a custom attribute from a profile definition

To change a profile definition

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Profile Definitions, right-click the profile definition you want to modify, and then click Properties.

  2. In the Properties dialog box, on the General tab, do the following:

    Use this To do this
    Display Name Change the name for the profile definition. The display name can contain a maximum of 127 Unicode characters.
    Description Change the description for the profile definition. The description can contain a maximum of 127 Unicode characters.
  3. In the Properties dialog box, on the Custom Attributes tab, do the following:

    Use this To do this
    New Click to open the Custom Attribute dialog box and add a new custom attribute.
    Edit Click to open the Custom Attribute dialog box and edit the specified custom attribute.
    Delete Click to delete the selected custom attribute.
  4. In the Custom Attributes dialog box, do the following:

    Use this To do this
    Display Name Type the name you want displayed or change the name for the attribute. The display name can contain a maximum of 127 Unicode characters.
    Description Type or change the description for the attribute. The description can contain a maximum of 127 Unicode characters.
    Value Type or change the value of the attribute.

Ee798842.note(en-US,CS.10).gif Note

  • You can change the display name of a profile definition; however, you cannot change the programmatic name of a profile definition.
  1. To save the changes and return to the Properties dialog box, click OK.

  2. To save your changes and return to Commerce Server Manager, click Apply, and then click OK.

The profile definition is saved with the changes.

To copy a profile definition

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Profile Definitions, right-click the profile you want to copy, and then click Make a Copy of This Profile.

  2. In the Copy Profile Definition dialog box, do the following:

    Use this To do this
    Name Type a programmatic name for the profile definition. The name can contain a maximum of 127 alphanumeric characters and the underscore (_) symbol. The name cannot contain spaces.
    Display Name Type the name you want displayed for the profile definition. The display name can contain a maximum of 127 Unicode characters.
    Description Type a description for the profile definition. The description can contain a maximum of 127 Unicode characters.
  3. Click Next.

  4. In the Custom Attributes dialog box, click New.

  5. In the Custom Attribute dialog box, do the following:

    Use this To do this
    Name Type a programmatic name for the attribute. The name can contain a maximum of 127 alphanumeric characters and the underscore (_) symbol. The name cannot contain spaces.
    Display Name Type the name you want displayed for the attribute. The display name can contain 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.
  6. To save the profile definition, click OK.

  7. To save the profile definition and return to Commerce Server Manager, click Finish.

The new profile definition is saved.

To delete a profile definition

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Profile Definitions, right-click the profile definition you want to delete, and then click Delete.

  2. In the Delete Profile confirmation dialog box, click Yes.

The profile definition is deleted from the Profiles resource.

Ee798842.caution(en-US,CS.10).gif Caution

  • If you delete a profile definition by mistake, you must recreate it. You cannot recover a profile definition after you have deleted it.

To delete a custom attribute from a profile definition

  1. Expand Commerce Server Manager, expand Global Resources, expand Profiles, expand Profile Catalog, expand Profile Definitions, right-click the profile definition from which you want to delete a custom attribute, and then click Properties.

  2. In the Properties dialog box, on the Custom Attributes tab, select the attribute you want to delete, and then click Delete.

The custom attribute is deleted from the profile definition.

See Also

About the Profiles Resource

Adding a New Profile Definition


All rights reserved.