Note:
Functionality in the Administration Services application is not available in Oracle Database Cloud Service (Database Schema).In order for a user to sign in to Oracle Application Express, they sign in to Oracle Application Express, they sign in to a shared work area called a workspace. An administrator can create workspaces manually or take advantage of a more automated approach in which users click a link a a login page. This section describes how an Instance administrator can create workspaces.
See Also:
"Managing Existing Workspaces"When users sign in to Oracle Application Express, they sign in to a shared work area called a workspace. A workspace enables multiple users to work within the same Oracle Application Express installation while keeping their objects, data and applications private. Each workspace has a unique numeric ID and name.
To make changes to a workspace, the Workspace administrators must submit a service or change requests to an Instance administrator. Only the Instance administrator can approve change requests or provision new workspaces.
The Instance administrator determines how the process of provisioning (or creating) a workspace works for a specific Oracle Application Express instance. To determine how provisioning works, an Instance Administrator selects one of the following options on the Instance Settings page:
Manual - In this mode, an Instance administrator creates new workspaces and notifies the Workspace administrator of the login information.
Request - Users request workspaces directly in a self-service fashion. Users click a link on the login page to access a request form. After the workspace request has been granted, users are automatically emailed the appropriate login information.
Request with Email Verification - In this mode, users request workspaces directly by clicking a link on the login page to access a request form. Each user receives an initial email containing a verification link. When the user clicks the verification link, the request is processed. The user can then access the workspace using the Sign In page.
Note:
To enable users to request a workspace using a link on the Login page, you must choose the provisioning status of Request or Request with Email Verification as described in the previous section. If the provisioning status is set to Manual, no link appears on the login page.To select a provisioning mode:
Sign in to Oracle Application Express Administration Services. See "Accessing Oracle Application Express Administration Services."
Click Manage Instance.
Under Instance Settings, click Instance Settings.
Under Self Service, select a provisioning status:
Manual - An Instance administrator manually creates new workspaces and notifies the Workspace administrator of the login information.
Request - Users request workspaces directly in a self-service fashion. Selecting this option displays a link on the Login page enabling users to request a workspace. When a user requests a workspace, each request is submitted to a queue for approval. When the request is approved, the user is sent an email containing login credentials (the workspace name, username, and password).
Request with Email Verification - In this mode, users request workspaces directly by clicking a link on the Sign In page to access a request form. Each user receives an initial email containing a verification link. When the user clicks the verification link, the request is processed. The user can then access the workspace using the Sign In page.
Tip:
If you select Request with Email Verification, you can disable workspace provisioning and send users a message. See "Disabling Email Provisioning."If you select Request or Request with Email Verification:
Development Service URL - Enter a URL for the service (optional). This value is used in the email when the request is approved. If this setting is not present, the URL is derived from your environment.
Require Verification Code - Determines if a verification code displays and is required during the request process. Select Yes or No.
Click Apply Changes.
Note:
To enable users to request a workspace using a link on the Login page, you must choose the provisioning status of Request or Email Verification as described in the previous procedure. If the provisioning status is set to Manual, no link appears on the login page.When an Instance administrator creates a new workspace with a new schema, a new tablespace and data file are created for that schema. If Oracle-Managed Files is enabled, it manages the data file for the new tablespace.
Using Oracle-managed files simplifies the administration of the Oracle database and eliminates the need for the database administrator (DBA) to directly manage the operating system files that comprise the database. Using Oracle-managed files, the DBA specifies operations in terms of database objects rather than file names. The data file for the new tablespaces are named according to the Oracle-managed files conventions. The placement of these files is determined by the database initialization parameter DB_CREATE_FILE_DEST
.
If the Oracle-Managed Files is not enabled, the data file is created in the same directory as the first data file of the tablespace in which Oracle Application Express is installed.
See Also:
"Using Oracle Managed Files" in Oracle Database Administrator's GuideInstance administrators can provision a workspace manually in either a full development environment or a runtime environment.
To create a workspace manually:
Sign in to Oracle Application Express Administration Services. See "Accessing Oracle Application Express Administration Services."
Click Manage Workspaces.
Under Workspace Actions, click Create Workspace.
The Create Workspace Wizard appears.
For Identify Workspace, enter the following:
Workspace Name - Enter a unique workspace name.
Workspace ID - Leave Workspace ID blank to have the new Workspace ID automatically generated. A Workspace ID must be a positive integer greater than 100000.
Workspace Description - Enter a workspace description.
Click Next.
For Identify Workspace, enter a workspace name and description and click Next.
For Identify Schema, specify whether you are re-using an existing schema or creating a new one.
If you are using an existing schema:
Re-use existing schema - Select Yes.
Schema Name - Select a schema from the list.
Click Next.
If you are creating a new schema:
Re-use existing schema - Select No.
Schema Name - Select a schema from the list.
Schema Password - Enter a password.
Space Quota (MB) - Enter a space quota.
Click Next.
For Identify Administrator, enter the Workspace administrator information and click Next.
Confirm your selections and click Create Workspace.
To add a workspace in a runtime environment:
Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS
. For example:
On Windows:
SYSTEM_DRIVE:\ sqlplus /nolog SQL> CONNECT SYS as SYSDBA Enter password: SYS_password
On UNIX and Linux:
$ sqlplus /nolog
SQL> CONNECT SYS as SYSDBA
Enter password: SYS_password
Run the following statement:
ALTER SESSION SET CURRENT_SCHEMA = APEX_050000
The following example demonstrates how to use the ADD_WORKSPACE
procedure to add a new workspace named MY_WORKSPACE
using the primary schema, SCOTT
, along with additional schema mappings for HR and OE.
BEGIN APEX_INSTANCE_ADMIN.ADD_WORKSPACE ( p_workspace_id => 8675309, p_workspace => 'MY_WORKSPACE', p_primary_schema => 'SCOTT', p_additional_schemas => 'SCOTT' ); END;
See Also:
"ADD_WORKSPACE Procedure" in Oracle Application Express API ReferenceInstance administrators can provision multiple workspaces by running the Create Multiple Workspaces Wizard.
To create multiple workspaces:
Sign in to Oracle Application Express Administration Services. See "Accessing Oracle Application Express Administration Services."
Click Manage Workspaces.
Under Workspace Actions, click Create Multiple Workspaces.
The Create Multiple Workspaces Wizard appears.
Under Provision Workspace Using, select one of the following:
System Generated Workspace Names
Statically Prefixed Workspace Name with Sequential Integer Suffix
Email Domain Name as Workspace Name, with Sequential Integer Suffix for duplicates
Depending upon the option you select in the previous step, make the following selections:
Tip:
To learn more about a specific field, see field-level Help.System Generated Workspace Names
Workspace Count
Install Sample Application
Install Sample Websheet
Install Sample DEPT and EMP Tables
Space Quota (MB)
Resource Manager Consumer Group
Allow workspaces to be automatically purged
Workspace Description
Statically Prefixed Workspace Name with Sequential Integer Suffix
Workspace Prefix
Workspace Count
Install Sample Application
Install Sample Websheet
Install Sample DEPT and EMP Tables
Space Quota (MB)
Resource Manager Consumer Group
Allow workspaces to be automatically purged
Workspace Description
Email Domain Name as Workspace Name, with Sequential Integer Suffix for duplicates
Install Sample Application
Install Sample Websheet
Install Sample DEPT and EMP Tables
Space Quota (MB)
Resource Manager Consumer Group
Allow workspaces to be automatically purged
Email Addresses
Workspace Description
Click Next.
Confirm your choices and click Provision Workspaces.