5.23 SET_BUILD_STATUS Procedure

This procedure sets the application build status.

Syntax

APEX_APPLICATION_ADMIN.SET_BUILD_STATUS (
    p_application_id IN NUMBER,
    p_build_status   IN t_build_status )

Parameters

Parameter Description
p_application_id The application ID.
p_build_status
New build status to set application to. Values include:
  • RUN_AND_BUILD - Developers and users can both run and develop the application.
  • RUN_ONLY - Users can only run the application. Developers cannot edit the application.

Example

The following example sets build status for app 100 to "RUN_ONLY."

BEGIN
    apex_application_admin.set_build_status (
        p_application_id => 100,
        p_build_status   => 'RUN_ONLY' );
END;
/