In the Display Name field, edit the descriptive name of the attribute. The Display

5-6 Oracle Fusion Middleware Users Guide for Oracle Portal – List Of Values displays the attribute as a list from which users can choose a value. If you select this radio button, enter the name of the list of values in the field provided. If you are not sure of the name of the list of values, click the List icon and select from the list provided.

9. Click OK.

5.2.1.3 Deleting an Attribute

When you delete an attribute, you also remove the attribute and its values from any items and pages that include it. Take care when deleting an attribute from the Shared Objects page group. Attributes in the Shared Objects page group may be used across page groups. Deleting an attribute from Shared Objects removes it from all page groups that use it. To delete an attribute:

1. Use the Navigator to browse to the attribute that you want to delete.

2. In the row for the attribute, click the Delete link.

3. In the confirmation page, click Yes.

5.2.2 Working With Item Types

Item types define the contents of an item and the information that is stored about an item. The information stored about an item is determined by the attributes of the item type. By default, Oracle Portal includes several base item types to cover the most common content that contributors will want to add. Oracle Portal also includes several built-in custom item types so that content contributors can get started adding content right out of the box. For a complete list of base and built-in item types, see Section A.4, Base Item Types . However, you may find that you want to store more information about your items than the built-in item types allow. If this is the case, you can extend the built-in item types to meet your requirements. You can add different attributes to the built-in item types to store exactly the information that you want. You can also add calls to PLSQL and HTTP procedures and even pass attributes to the parameters of those procedures. For example, if the Review item type includes a Search attribute to store a search string, you could add a procedure call to a search engine and pass the search string to that search engine. When users run the search engine, the search results for the search string are displayed. If you prefer, you can create your own item types. You can base an item type on one of the base item types. Basing your item type on a base item type means that your item type will inherit certain attributes. You can then extend your item type to include other attributes and procedure calls. You can also choose to base your item type on Note: The list of values must already exist. Multi-valued attributes are not supported for lists of values. That is, users are able to choose only one value from an attribute list of values. This means that attribute values can be displayed in combo boxes and pop-ups, but not as check boxes, drop-down lists, or radio buttons. Preparing to Add Content 5-7 none of the base item types choose None from the Base Item Type list, which gives you complete control over the attributes included in the item type.

5.2.2.1 Creating an Item Type

To create an item type:

1. In the Navigator, click the link for the page group in which you want to create the

item type. To get to the Navigator click the Navigator link on any page. By default you can find a Navigator link on the Portal Builder page.

2. Click the Item Types link.

3. Next to Create New, click the Item Type link.

4. In the Display Name field, enter a descriptive name for the item type. The display

name is used in the Portal Navigator and the Add Item Item Type list, so shorter display names are better. Use up to 256 characters of any kind, including spaces.

5. From the Base Item Type list, choose the base item type from which you want

your item type to inherit attributes. You can choose from None, Base File, Base Image Map, Base Image, Base PLSQL, Base Page Link, Base Text, and Base URL.

6. Click Create.

7. Click Close.

5.2.2.2 Editing an Item Type

When you first create an item type, it includes exactly the same attributes as the base item type on which you based it. If you chose None as the base item type, your new item type includes only the Display Name attribute. To truly customize the item type, you need to edit it to add more attributes, and possibly procedure calls.

5.2.2.2.1 Editing the Basic Properties of an Item Type

To edit the basic properties of an item type: 1. Use the Navigator to browse to the item type that you want to edit. To get to the Navigator click the Navigator link on any page. By default you can find a Navigator link on the Portal Builder page. Tip: If you create an item type in a particular page group, that item type is available only in that page group. If you want the item type to be available in multiple page groups, either create it in the Shared Objects page group, or if the item type already exists promote it to the Shared Objects page group. See Section 4.6, Sharing Objects Across Page Groups . Note: You cannot edit the base item types. However you can extend the built-in item types.