| Oracle Help for the Web | Contents | Index | Search | View Topic |
| Field Descriptions | Related
Help Topics | Additional Information
| Locating this Page |
Use this page to add attributes to an item type to extend its functionality beyond that of the base item types. An item type's attributes determine what information is stored about an item of that type. The attributes that you add here are included for item creation and editing where users can specify values for them.
| Field | Description |
|---|---|
| Available Attributes | Select the attributes that you want
to add to the item type, and click To move all attributes to the Selected
Attributes list, click |
| Selected Attributes | Lists the attributes that have been added to the item type. Click To remove attributes from the item type, select them in the Selected
Attributes list and click |
| Field | Description |
|---|---|
| Display Name | Displays the display name of the attribute. This display name is displayed as a label for the attribute in the add and edit item wizards for this item type. |
| Datatype | Displays the type of data that the attribute stores. |
| Default Value | Enter the value to give to the attribute if users do not specify their own value when they add an item of this type. The attribute's default value is used for all items created of this item type. You can allow users to modify this value by including the attribute in the add and edit item wizards. You can use PL/SQL expressions and function calls to determine the default value for an attribute. You must precede the expression or function call with a # character. The function being called must already exist in the database and must be prefixed with its owning schema. Examples: To set the default value of the Author attribute to the current user, enter:
To set the default value of the Publish Date attribute to the first day of the next month, enter:
To set the default value of a custom Project ID attribute to the current project to which the current user is assigned, you would first need a function that returns the id of the project. The function might be something like the following (presuming that a user is assigned to only one project for any specified date):
If this function has been created in the PROJECTS schema, enter the following in the Default Value field for the Project ID attribute:
Notes:
|
| Required | Select whether users must enter a value
for this attribute. Attributes which are required will be displayed with
the required icon |
| Add Wizard | Select whether the attribute should be included on the Add Item Wizard for this item type. |
| Edit Wizard | Select whether the attribute should be included on the Edit Item Wizard for this item type. |
An item type's base attributes are selected by default for the Add and Edit Item Wizards.
When you click Apply, the Attribute Properties section is refreshed to reflect the attributes in the Selected Attributes list, and attributes are added to and removed from the page type as appropriate.
You cannot add attributes to base item types.
Content contributors cannot add an item of a particular type until that item type is added to the list of available item types.
Page designers can display the value of an attribute next to an item by including the attribute in the region that contains the item.
For more information go to the documentation section of Portal Center.
Tips:
Copyright © 2005, Oracle. All rights reserved.