This procedure changes the status of the application.
Syntax
APEX_UTIL.SET_APPLICATION_STATUS( p_application_id IN NUMBER, p_application_status IN VARCHAR2, p_unavailable_value IN VARCHAR2, p_restricted_user_list IN VARCHAR2);
Parameters
Table 35-90 SET_APPLICATION_STATUS Parameters
Parameter | Description |
---|---|
|
The Application ID. |
|
New application status . Values include:
|
|
Value used when application is unavailable. This value has different semantics dependent upon value for |
|
Comma separated list of users permitted to access application, when |
Examples
begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'AVAILABLE' ); end; begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'AVAILABLE_W_EDIT_LINK' ); end; begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'DEVELOPERS_ONLY' ); end; begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'RESTRICTED_ACCESS', p_restricted_user_list => 'xxx.xxx@abc.com' ); end; begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'UNAVAILABLE', p_unavailable_value => 'Application not available, sorry' ); end; begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'UNAVAILABLE_PLSQL', p_unavailable_value => 'sys.htp.p(''Application unavailable, sorry'');' ); end; begin apex_util.set_application_status( p_application_id => 117, p_application_status => 'UNAVAILABLE_URL', p_unavailable_value => 'http://www.xyz.com' ); end;
See Also:
"Availability" in Oracle Application Express App Builder User’s Guide
Parent topic: APEX_UTIL