Adding attributes to a custom page type

You can add attributes to your custom page types to store additional information about pages or to pass information to procedures.

Note: You must be the page group administrator, the portal administrator, or have Manage privileges on All Page Groups to add attributes to a custom page type.

To add attributes to a custom page type:

  1. In the Navigator, click the Page Groups tab.

  2. Navigate to the following path:

    Path: Page Groups > PageGroupDisplayName > Custom Types > Page Types

    where PageGroupDisplayName is the page group in which the custom page type was created.

    Note: If the custom page type is shared, it will be in the Shared Objects page group.

  3. In the row for the custom page type that you want to edit, click Edit.

  4. Click the Attributes tab.

  5. In the Available Attributes list, select the attributes that you want to add to the custom page type, and click moveright.gif to move them to the Selected Attributes list.

    Notes:

  6. Click Apply to add the attributes to the custom page type and display them in the Attribute Properties section.

  7. (Optional) For each attribute:

    1. In the Default Value field, enter the value to give to the attribute if users do not specify their own value when they create or a page of this type.

      Note: If you do not want to provide a default value, leave this field blank.

    2. Select Required if you want to display the attribute on the Main tab for pages of this type. If you do not select this check box, the attribute is displayed on the Optional tab.

      Note: If you select the Required check box, users have to provide a value for this attribute.

  8. Click OK.

Notes

Related topics

What are page types?
Creating a custom page type
Changing a custom page type's basic properties
Adding procedure calls to a custom page type
Deleting a custom page type
Choosing the page types available in a page group