In the Icon field, enter the path and file name of an image to associate with the

5-10 Oracle Fusion Middleware Users Guide for Oracle Portal - To set the default value of the Publish Date attribute to the first day of the month, you would set the default value of the attribute to TO_CHARLAST_ DAYSYSDATE+1, DD-MON-YYYY HH12:MI PM. - 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 assuming that a user is assigned to only one project on any specified date: create function GET_CURRENT_PROJECT return VARCHAR2 as project_id VARCHAR2 30; begin select pa.id into project_id from project_asignments pa where SYSDATE between pa.start and pa.end --selects current assignment and pa.assignee = WWCTX_API.GET_USER; --gets name of current user return project_id; end; If the GET_CURRENT_PROJECT function was created in the PROJECTS schema, you would set the default value of the Project ID attribute to PROJECTS.GET_CURRENT_PROJECT.

b. Select the Required check box if you want it to be mandatory for content

contributors to provide a value for the attribute. The Required icon will be displayed next to the attribute when contributors add or edit an item of this type. If you do not select this check box, content contributors do not need to provide a value for the attribute.

c. Clear the Add Wizard check box if you do not want to display the attribute on

the Add Item Wizard. For example, to make it easier for content contributors to add an item of this type, you might want to limit the number of attributes displayed on the Add Item Wizard. Contributors can provide values for the extra attributes when they edit the item.

d. Clear the Edit Wizard check box if you do not want to display the attribute on

the Edit Item pages. For example, if you want to supply a default value for an attribute, and do not want content contributors to be able to change that value, clear both the Add Wizard and Edit Wizard check boxes so that the attribute does not display in the wizards. Note: You cannot pass attribute values as parameters to a function when it is called from an attribute default value. You can however pass PLSQL expressions as parameters. You can use expressions and function calls only for the default values of attributes, not for the actual values of attributes. If you are using an expression to determine the default value of a date attribute, you must make sure that the date value is converted to the DD-MON-YYYY HH12:MI PM date format as shown in the second example described earlier.