19.2 Implementing Plug-ins
Create plug-ins to declaratively extend, share, and reuse the built-in types available with Oracle Application Express.
- About Plug-ins
- Accessing the Plug-ins Page
- Creating a Plug-in
- Editing a Plug-in
- Adding Custom Attributes to a Plug-in
- Uploading Files Associated with a Plug-in
- Adding Events to a Plug-in
- Deleting a Plug-in
- Viewing the Plug-in Repository
- Exporting a Plug-in from the Plug-in Page
- Importing a Plug-in from the Plug-in Page
- Resetting the Plug-in Interactive Report
- Viewing Plug-in Utilization Page
- Viewing Plug-in History
Parent topic: Extending Application Capabilities
19.2.1 About Plug-ins
Oracle Application Express supports a set group of authentication scheme, authorization scheme, item, region, dynamic action, and process types. Plug-ins offer a means of augmenting these built-in types by declaratively creating and using new types in your application. Because plug-ins are designed for reuse, developers can export and import them to other workspaces and also share them with the Oracle Application Express Plug-in community by using the Plug-in Repository.
The process of implementing a plug-in involves the following steps:
-
Create a plug-in or import a plug-in into your application workspace.
-
Edit or create an authorization scheme, item, region, process, or dynamic action type to use the plug-in.
-
Run your application to test the plug-in.
Viewing Plug-in Examples
You can view plug-in implementation examples in the following locations:
-
Go to the Oracle Plug-in Repository.
-
Install the sample application, Sample Database Application.
See "Managing Productivity and Sample Apps in a Full Development Environment" and "Installing and Running Sample Database Application."
-
Go to the Oracle Learning Library at http://www.oracle.com/oll/apex. Enter search criteria in the field provided and click Search.
Parent topic: Implementing Plug-ins
19.2.3 Creating a Plug-in
To create a plug-in:
Tip:
To learn more about an attributes described in this section see field-level Help. See "Viewing Field-level Help in Oracle Application Express."
See Also:
Parent topic: Implementing Plug-ins
19.2.5 Adding Custom Attributes to a Plug-in
To add custom attributes to the plug-in:
Note:
If you click Create or Create and Create Another and the Return To Page check box on the right panel under Plug-ins is checked, this same Edit Attribute page displays.
Parent topic: Implementing Plug-ins
19.2.6 Uploading Files Associated with a Plug-in
Learns how to upload the files associated with a plug-in.
Parent topic: Implementing Plug-ins
19.2.6.1 Uploading a File to Associate with a Plug-in
To upload a file:
Parent topic: Uploading Files Associated with a Plug-in
19.2.6.2 Automatically Loading CSS and JavaScript Files
You can have Oracle Application Express automatically load CSS and JavaScript files when a plug-in is used on a page by configuring the File URLs to Load attributes. To specify which of the uploaded files should be loaded and in what order.
To automatically load a CSS or JavaScript file:
Parent topic: Uploading Files Associated with a Plug-in
19.2.7 Adding Events to a Plug-in
This section describes how to add events to an item, region, or dynamic action type plug-in, enables them to be exposed to dynamic actions. For example, a Slider plug-in that exposes events such as Start Slide, Sliding, and Stop Slide, allows the creation of dynamic actions that can react when these events occur.
To add events to a plug-in:
See Also:
Parent topic: Implementing Plug-ins
19.2.8 Deleting a Plug-in
You can delete a plug-in if it is not in use. If it is in use, the Delete button does not display.
To delete a plug-in:
Parent topic: Implementing Plug-ins
19.2.9 Viewing the Plug-in Repository
The Plug-in Repository provides a central location where developers can share and download plug-ins. The repository is located on the Oracle Technology Network.
To view the Plug-in repository:
Parent topic: Implementing Plug-ins
19.2.10 Exporting a Plug-in from the Plug-in Page
To export a plug-in from the Plug-in page:
See Also:
Parent topic: Implementing Plug-ins
19.2.11 Importing a Plug-in from the Plug-in Page
To import a plug-in from the Plug-in page:
See Also:
Parent topic: Implementing Plug-ins
19.2.12 Resetting the Plug-in Interactive Report
You can reset the plug-in interactive report to clear all current filters applied to the report.
To reset the interactive report:
- Navigate to the Shared Components page:
- Under Other Components, click Plug-ins.
- On the Plug-ins page, click Reset.
Parent topic: Implementing Plug-ins
19.2.13 Viewing Plug-in Utilization Page
The Plug-in Utilization page displays which pages, components, and regions use each plug-in.
To view plug-in utilization:
Parent topic: Implementing Plug-ins
19.2.14 Viewing Plug-in History
The Plug-in History page shows the actions taken on each plug-in, the developer that performed the action and the date of each action.
To view plug-in history:
Parent topic: Implementing Plug-ins