29.4 SET_WORKSPACE Procedure Signature 1

This procedure sets the current workspace to the workspace that is processed by the extension application or background automation by its ID.

After calling this API, all Oracle APEX dictionary views show the metadata of that workspace.

Syntax

APEX_EXTENSION.SET_WORKSPACE (
    p_id    IN NUMBER )

Parameters

Parameter Description
p_id The ID of the workspace to be accessed.

Example

The following example sets access for an extension application to workspace with 123456789.

BEGIN
        apex_extension.set_workspace( p_id => 123456789);
END;