Oracle9iAS Portal Developer Kit

get_proc_path function

Contained in package wwctx_api.

Call this function to get a fully qualified URL for a procedure for a specified partial URL.

Note: The path in the function name refers to the URL that specifies a path to the intended procedure.

function get_proc_path

(

p_url in varchar2,

p_schema in varchar2 default get_product_schema

)

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

 p_url

The relative URL.

Datatype: in varchar2

p_schema

The schema to prefix the URL.

Datatype: in varchar2
Default: get_product_schema

Returns:

This function returns a fully qualified URL for a specified relative URL.

Exceptions:

This function raises no user-defined exceptions.

Example:

l_process_path := wwctx_api.get_proc_path

(

p_url =>'wwptl_app_favorites?p_arg1=10'

);

Notes

  • A qualified, or absolute URL contains all necessary elements to reach a Web location regardless of the current specified location of the user or calling routine. Qualified URLs begin with: http://host.domain.com/.

  • A relative, or partial URL, is a path from the current location of the user or calling routine, and never begins with a slash (/). Examples of relative URLs are: package.procedure?arg=value, images/hello.gif, and ../../pls/dad2/package.proc.

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio