1.5 Configuring Workspace Preferences

Configure workspace preferences for workspace login controls, access to App Builder and SQL Workshop, support for PL/SQL editing and RESTful services, and access to Team Development.

Tip:

You can access many workspace administration functions (such as Manage Service, Set Worksapce Preferences) from both the Administration menu and the Workspace Administration home page. For consistency, this section navigates the user to the Workspace Administration home page.

Tip:

Some workspace preferences can also be configured for an entire instance. If applicable, the section includes references to any instance-level settings.

1.5.1 Creating Account Login Controls for a Workspace

Configure workspace login controls such as account expiration and locking, maximum number of failed login attempts, and password lifetime.

1.5.1.1 About Login Controls

Workspace administrators can configure login controls for an individual workspace.

Workspace administrators can also configure login controls for an entire Oracle Application Express instance. For example, if an Instance administrator configures account login controls in Oracle Application Express Administration Services that configuration applies to all Application Express accounts in all workspaces across an entire instance.

If the Instance administrator does not enable login controls across an entire instance, then each Workspace administrator can configure the following controls on a workspace-by-workspace basis:

  • End-user account expiration and locking

  • A maximum number of failed login attempts for end-user accounts

  • The password lifetime (or number of days an end-user account password can be used before it expires for end-user accounts

Tip:

This feature applies only to accounts created using the Application Express user creation and management. Application Accounts Authentication provides additional authentication security for applications. See "Managing Users in a Workspace."

1.5.1.2 Configuring Workspace Account Login Controls

Configure workspace account login controls on the Set Workspace Preferences page.

To configure login controls for a workspace:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Click Request Storage.
  5. Under Account Login Control:
    1. Account Expiration and Locking - Make a selection to determine whether Application Express end user accounts can be expired or locked. This feature applies only to end-user accounts created using the Application Express user management interface. Options include: Enable or Disable.
    2. Maximum Login Failures Allowed - Enter a positive integer for the maximum number of consecutive unsuccessful authentication attempts allowed before an end-user account is locked. If you do not specify a value in this field, the instance-level setting for Maximum Login Failures Allowed is used.

      Tip:

      If the Instance administrator sets the Require User Account Expiration and Locking preference to Yes, this preference defaults to Enable and you cannot update it.

    3. End User Account Lifetime (days) - Enter a positive integer for the maximum number of days an end-user account password may be used before the account expires. If you do not specify a value in this field, the instance-level setting for Account Password Lifetime is used.
  6. Click Apply Changes.

1.5.2 Controlling Access to App Builder

Control whether developers can access App Builder.

To control access to App Builder:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Scroll down to App Builder.
    • To Enable App Builder, select Yes.
    • To disable App Builder, select No.
  5. Click Apply Changes.

Tip:

These settings can be overridden by an Instance administrator. See "Managing Component Availability for an Instance."

1.5.3 Controlling Access to SQL Workshop

Control whether developers can access to SQL Workshop. SQL Workshop includes tools for viewing and managing database objects.

To control access to SQL Workshop:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Scroll down to SQL Workshop.
    • To Enable SQL Workshop, select Yes.
    • To disable SQL Workshop, select No.
  5. Click Apply Changes.

Tip:

These settings can be overridden by an Instance administrator. See "Managing Component Availability for an Instance."

1.5.4 Disabling PL/SQL Program Unit Editing for a Workspace

Determine whether developers have the ability to edit and compile PL/SQL program units from Object Browser.

By default, developers can change and compile PL/SQL source code when browsing database procedures, packages, and functions in SQL Workshop Object Browser. Workspace administrators can disable PL/SQL program unit editing by selecting Do not allow PL/SQL program unit editing on the Set Workspace Preferences page.

To disable PL/SQL program unit editing:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Scroll down to SQL Workshop.
  5. Under PL/SQL Editing, select one of the following:
    • Allow PL/SQL program unit editing

    • Do not allow PL/SQL program unit editing

    If you select Do not allow PL/SQL program unit editing, developers can still create and replace PL/SQL program units using scripts or SQL Commands.

  6. Click Apply Changes.

1.5.5 Controlling RESTful Services for a Workspace

Workspace administrators can control whether RESTful Services are enabled in the current workspace.

Use the Enable RESTful Services attribute to control the ability to create and access RESTful Services mapped to SQL and PL/SQL. RESTful Services can also be enabled or disabled at the instance-level in the Administration Services application. Go to Manage Instance, Feature Configuration, and then SQL Workshop.

Tip:

RESTful Services requires that the web listener in your configuration uses Oracle REST Data Services release 2.0 or later.

To configure RESTful access:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Scroll down to SQL Workshop.
  5. From Enable RESTful Services, select one of the following:
    • Yes - Enables developers to expose report regions as RESTful services.

    • No - Prevents developers from exposing report regions as RESTful services.

  6. If Enabled RESTful Services is set to Yes, configure Path Prefix. In Path Prefix, specify the URI path prefix to be used to access RESTful Services in the current workspace. The default path prefix value is the name of the workspace.

    For example, a workspace named QA_1 could have a path prefix set to QA. In this case, the sample RESTful service would be available at:

    http://www.example.com/apex/qa/hr/employees/
  7. Click Apply Changes.

See Also:

1.5.6 Managing Team Development

Use the options under Team Development to specify whether Team Development is available in the current workspace, enable support for file attachments, and specify the maximum size of uploaded files.

Tip:

The Enable File Repository attribute can only be modified if the instance-level setting, Enable Team Development's File Repository is set to Yes. See "Enabling Instance-level Support for File Upload in Team Development."

1.5.6.1 Enabling Team Development for a Workspace

Control whether developers can access Team Development.

To enable Team Development:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Scroll down to Team Development.
  5. For Enable Team Development:
    • Select Yes to enable Team Development in the current workspace.

    • Select No to disable Team Development in the current workspace.

  6. Click Apply Changes.

1.5.6.2 Enabling Workspace-level Support for File Upload in Team Development

Control whether Team Development supports file upload.

To enable support for file upload in for Team Development file upload:

  1. Navigate to the Workspace Administration page:
    1. Sign in to Oracle Application Express.
    2. At the top of the Workspace home page, click the Administration menu and select Administration.

    The Workspace Administration home page appears.

  2. Click Manage Service.
  3. Click Set Workspace Preferences.
  4. Scroll down to Team Development.
  5. Scroll down to Team Development. Specify whether to enable file upload in Team Development.
    1. Enable File Repository:

      • Yes - Enables support for file attachments in Team Development and creates a local APEX$ table to store the files.

      • No - Disables support for file attachments in Team Development.

        Tip:

        This attribute can only be modified if the instance-level setting, Enable Team Development's File Repository, is set to Yes. See "Enabling Instance-level Support for File Upload in Team Development."

    2. Maximum File Size (in MB) - Select the maximum file size for any file uploaded into the team development file repository. The default value is 15 MB.

  6. Click Apply Changes.