53.2 PUBLISH Procedure
This procedure publishes a component.
Syntax
APEX_SHARED_COMPONENT.PUBLISH (
p_component_type IN t_component_type,
p_component_id IN NUMBER );
Parameters
Parameter | Description |
---|---|
p_component_type |
Component type to publish. |
p_component_id |
Component ID to publish. |
Example
The following example code publishes a List of Values with component ID 1234
.
BEGIN
-- set the current workspace, only required when executing this API outside
Oracle APEX environment
apex_util.set_workspace ( p_workspace => 'WORKSPACE_NAME' );
-- publish a component
apex_shared_component.publish (
p_component_type => apex_shared_component.c_lov,
p_component_id => 1234 );
COMMIT;
END;
Parent topic: APEX_SHARED_COMPONENT