18.6.2 Creating a Remote Server

Create a Remote Server from Shared Components.

To create a Remote Server object:

  1. Navigate to the Remove Server page:
    • From Workspace Utilities:
      1. On the Workspace home page, click App Builder.
      2. Click Workspace Utilities.
      3. Click Remote Servers.
    • From Shared Components:
      1. On the Workspace home page, click App Builder.
      2. Select an application.
      3. On the Application home page, click Shared Components in the center of the page.
      4. Under Workspace Objects, select Remote Servers.
  2. On the Remote Servers page, click Create.
  3. Under General:
    1. Name - Enter a name for the Remote Server object. Remote Server names must be unique within the application.
    2. Static Identifier - Enter a static ID for the Remote Server.
    3. Server Type - Select one of the following:
      • REST Data Source - A Remote Server for consuming a remote REST API.

      • Authentication - A Remote Server used for authentication.

      • Print Server - A Remote Server for an external print server. You can create a Print Server in your workspace and use it in an application. By default, the print server configuration at instance level is used.

      • File Server - A Remote Server for remote file storage.

    4. Endpoint URL - Enter the base URL of the Remote Server.
    5. Prompt on Install - Select On to have APEX prompt for the Endpoint URL after the application installs into another workspace.
  4. Under Advanced:

    Tip:

    Depending upon the Remote Server Type, some of the following attributes do not display.
    1. Static Identifier - Use the Static ID to reference the Remote Server in API calls.
    2. PL/SQL Code - Enter a procedure which configures the Endpoint URL at runtime. To view examples, see item Help.
    3. Configuration Procedure - Enter the name of a procedure which configures the Endpoint URL at runtime. This procedure can be the name of a procedure stored in the database, stored in a database package procedure, or a procedure stored in the PL/SQL Code attribute. To view examples, see item Help.
    4. Comments - Enter any comments or notes. These comments never display when running the application.
  5. Click Create.