add_portlet_to_repository procedure

Contained in package wwpro_api_provider_registry.

Use this procedure to add portlets to the portlet repository. It can be used by portlet providers to dynamically add portlets.

procedure add_portlet_to_repository
(

   p_provider_id in integer,
   p_portlet_id in integer

 );

A user must have at least the Manage Items privilege on the provider folder within the portlet repository to execute this function.

Version: Oracle Portal 3.0.8

Parameters:

p_provider_id

A unique identifier for a provider that is allocated by Oracle Portal.

Note: A null value is not permitted.

Datatype: in integer

p_portlet_id

A unique identifier that locates the portlet within the provider domain.

Note: A null value is not permitted.

Datatype: in integer

Exception:

  • If an unexpected exception occurs, ADD_PORTLET_EXCEPTION is raised.

Example:

wwpro_api_provider_registry.add_portlet_to_repository
(

  p_provider_id => 5,
  p_portlet_id => 22

 );

Related topics

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