19.2 Implementing Plug-ins

Create plug-ins to declaratively extend, share, and reuse the built-in types available in APEX.

19.2.1 Exporting and Importing Plug-ins from Shared Components

Export and import plug-ins from Shared Components.

19.2.1.1 Exporting a Plug-in from the Plug-in Page

Export a plug-in definition to a file.

Plug-in export files can be imported into any Oracle APEX application. You can access the Export page from the Shared Components, Plug-ins page as described in this topic or from the Export page.

To export a plug-in from the Plug-in page:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Other Components, click Plug-ins.
  3. Under Tasks, click Export Plug-in.

    The Export Plug-in page appears.

  4. On the Export Plug-in page:
    1. Choose Application - Select an application
    2. Plug-in - Select the plug-in to export.
    3. Click Export.
  5. Click Export.

    A downloads complete message appears.

19.2.1.2 Importing a Plug-in from the Plug-in Page

Import a plug-in definition to a file.

Import a plug-in from the Shared Components, Plug-ins page, as described in this topic or from the Import home page.

To import a plug-in from the Plug-in page:

  1. Navigate to the Shared Components page:
    1. On the Workspace home page, click App Builder.
    2. Select an application.
    3. On the Application home page, click Shared Components.

      The Shared Components page appears.

  2. Under Other Components, click Plug-ins.
  3. Click Import.

    The import Plug-in page appears.

  4. On Import:
    1. Drag and drop, or navigate to the file.
    2. File Type - Select Plug-in.
    3. File Character Set - Verify that File Character Set is correct.
    4. Click Next.

      Once you import a file, you have the option to install it. You can also install this file at a later time by navigating to the Export Repository.

  5. To install an imported file, click Next.
  6. On Install Plug-in:
    1. Install Into Application - Select the target application. You can install the plug-in into the same application or into a different application.

      Tip:

      When you install a plug-in into the current application, the new plug-in will overwrite an existing plug-in having the same plug-in name. If the installation succeeds, the installation of the plug-in becomes permanent. If any errors are encountered, the actions are rolled back, resulting in no permanent changes.
    2. Click Install Plug-in.

See Also:

Importing Plug-ins