This section describes how to add, manage, reuse, and share plug-ins. You can find plug-in examples on the Oracle Application Express Plug-in Repository on the Oracle Technology Network and in the Sample Database Application.
Topics:
See Also:
Plug-ins enable developers to declaratively extend, share, and reuse the built-in types available with Oracle Application Express.
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.
You can view plug-in implementation examples in the following locations:
Go to the Oracle Plug-in Repository.
Install the packaged application, Sample Database Application.
See "Managing Packaged Applications 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.
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."
A plug-in attribute is used to prompt the developer for additional data in the App Builder when the plug-in is used.
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.
See Also:
This section describes how to upload the files associated with a plug-in.
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:
See Also:
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:
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:
See Also:
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:
Use this option to import an exported plug-in to your application. Importing a plug-in can be done from the Plug-ins page under Shared Components, as described here, or from the App Builder home page.
To import a plug-in:
See Also:
Use this option to export a plug-in definition to a file. This file can be imported into any APEX application. Exporting a plug-in can be done from the Plug-ins page under Shared Components, as described here, or from the workspace home page.
To export a plug-in from the Plug-in page:
See Also:
You can reset the plug-in interactive report to clear all current filters applied to the report.
To reset the interactive report:
See Also:
The Plug-in Utilization page displays which pages, components, and regions use each plug-in.
To view plug-in utilization:
See Also: