In the row for the page type, click the Edit link.

5-20 Oracle Fusion Middleware Users Guide for Oracle Portal

2. In the row for the page type, click the Edit link.

3. Click the Procedures tab.

4. From the Type list, choose whether the call is to an HTTP or PLSQL procedure.

5. In the Procedure Call field, enter one of the following:

■ The URL of the HTTP procedure, including the protocol used to access it, for example: http:www.oracle.comsearchindex.html ■ The name of the PLSQL procedure. The procedure must already exist in the database and must be prefixed with its owning schema, for example: SCOTT.MY_PROC The PUBLIC user must be granted execute privileges on the procedure.

6. In the Link Text field, enter the text to display as a hypertext link that users can

click to execute the procedure call. This link is displayed only if the page includes a Page Function item and you do not select Display Procedure Results With Page, or you have not specified an icon. For information about adding a Page Function item to a page, see Section 5.2.3.2.4, Including a Page Type’s Procedure Call on a Page .

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

procedure call. If you specify an icon, it is used instead of the Link Text, however you must still enter a value in the Link Text field to serve as the image’s rollover text. Click Browse to locate the image if you are not sure of its path or file name. 8. Select Display Procedure Results With Page to display the results of the procedure call directly in the page instead of displaying a link for users to click. This makes the results immediately visible to users, rather than requiring them to click a link to execute the procedure call themselves. 9. If the procedure you are calling has parameters, you can pass values to those parameters using the attributes you attached to the page type in Section 5.2.3.2.2, Adding Attributes to a Page Type .

a. In the Attribute list, choose the attribute whose values you want to pass to a

parameter in the procedure.

b. In the Pass As field, enter the parameter name if it is different from the

attribute name.

10. Click Apply to add the procedure call to the page type.

11. Click OK.

To remove a procedure call from the page type, click the Delete Procedure icon next to the procedure call in the Existing Procedure Calls section. To edit an existing procedure call, for example, to add more parameterattribute mappings, click the Edit Procedure icon next to the procedure call in the Existing Procedure Calls section. Remember to click Apply to save your changes. Tip: If the page type is shared, it will be in the Shared Objects page group. See Section 4.6, Sharing Objects Across Page Groups