Oracle9iAS Portal Developer Kit

create_path procedure

Contained in package wwwpre_api_name.

Call this procedure to create a new hierarchical path or to add a name to an existing hierarchical path. After creating or extending a path, call the create_name procedure to associate a preference name with the path.

Notes:

  • The length of each name in a preference path may not exceed 255 characters.

  • The names in the path must be delimited with a period (.).

procedure create_path

(

p_path in varchar2

);

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_path

The preference path to be created.

Datatype: in varchar2

Exceptions:

  • If a duplicate preference path exists, a DUPLICATE_PATH_EXCEPTION is raised.

  • If the preference path has not been created, a GENERAL_PREFERENCE_EXCEPTION is raised.

Example:

begin

wwpre_api_name.create_path
(

'ORACLE.PORTAL.TEST'

);

end

Related topics

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