Adding attributes to a custom item type

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

You must be the content area administrator, the portal administrator, or have Manage privileges on All Content Areas to add attributes to a custom item type.

To add attributes to a custom item type:

  1. In the Navigator, click the Content Areas tab.

  2. Navigate to the following path:

    Path: Content Areas > ContentAreaDisplayName > Custom Types > Item Types

    where ContentAreaDisplayName is the content area in which the custom item type was created.

    Note: If the custom item type is shared, it will be in the Shared Objects content area.

  3. In the row for the custom item 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 item type, and click moveright.gif to move them to the Selected Attributes list.

    Notes:

    • You must create an attribute before you can add it to a custom item type.

    • Click movetop.gif moveup.gif movedown.gif movebottom.gif to determine the order in which the attributes are displayed when users create or edit an item of this type.

    • To remove attributes from the custom item type, select them in the Selected Attributes list and click moveleft.gif.

  6. Click Apply to add the attributes to the custom item 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 add an item of this type.

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

    2. Select Primary if you want to display the attribute on the Primary tab for items of this type. If you do not select this check box, the attribute is displayed on the Secondary tab.

  8. Click OK.

Note

  • You cannot add attributes to base item types.

Related topics

Creating a custom item type
Changing a custom item type's basic properties
Adding procedure calls to a custom item type

Deleting a custom item type
What is an item?
Choosing item attributes to display in a folder region