-
In the Navigator, click the Content
Areas tab.
-
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.
-
In the row for the custom item type that you want to edit, click Edit.
-
Click the Procedures tab.
-
In the Type list, choose whether the procedure call is to an HTTP
or PL/SQL procedure.
-
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://search.healthyliving.com.
-
The name of the PL/SQL procedure, for example SCOTT.SOME_PROC.
The procedure must already exist in the database and must be
prefixed with its owning schema.
-
In the Link Text field, enter the text to display as a
hypertext link with an item of this type. Users click this link to
execute the procedure call.
Note: This link is displayed only if you do not select Display
Procedure Results With Item, or you have not specified an icon.
-
(Optional) In the Icon field, enter the path and file name of
an image to associated with this procedure call. This icon is
displayed instead of the value entered in the Link
Text field.
Click Browse to locate the image if you are not sure of its
path or file name.
Note: If you specify an
icon, you must still enter a value in the Link
Text field.
-
(Optional) Select Display Procedure Results With Item to
display the results of the procedure call directly in the folder area
with an item of this type instead of displaying a link for users to
click to execute the procedure.
This is useful if you want the procedure results to be immediately
visible to users, rather than requiring them to execute the procedure
call themselves by clicking the link.
-
If the procedure being called has parameters, you can pass attributes
to those parameters.
-
In the Attribute list, choose the attribute to pass to the
parameter in the procedure.
Note: This list includes any
additional attributes added to the custom item type
as well as the default attributes.
-
In the Pass As field, enter the parameter name if it is
different from the attribute name.
-
Click Apply to add the procedure call to the custom item type
and display it in the Existing Procedure Calls section.
-
To add more procedure calls, repeat Steps 5 through 11.
-
Click OK.