19.2 Implementing Plug-ins
Create plug-ins to declaratively extend, share, and reuse the built-in types available in APEX.
- About Plug-ins
A plug-in is an extension to the built-in types available APEX. Create plug-ins for declarative use of new item, region, process and dynamic action types in your application. - Example Plug-ins
View plug-in examples on apex.world and the Oracle APEX GitHub repository. - Creating a Plug-in
Create a plug-in by navigating to Shared Components and running the Create Plug-in wizard. - Editing a Plug-in
Edit a plug-in by navigating to Shared Components and selecting it on the Plug-ins page. - Adding Custom Attributes to a Plug-in
Add Custom Attributes by editing the plug-in. - Creating a File to Associate with a Plug-in
Create a file to associate with a plug-in. - Automatically Loading CSS and JavaScript Files
Automatically load CSS and JavaScript files when a plug-in is used on a page. - Adding Events to a Plug-in
Add events to an item, region, or dynamic action type plug-in, to enable them to be exposed to dynamic actions. - Deleting a Plug-in
Delete plug-ins on the Edit page. - Viewing the Plug-in Repository
The Plug-in Repository provides a central location where developers can share and download plug-ins. - Exporting a Plug-in from the Plug-in Page
Export a plug-in definition to a file. - Importing a Plug-in from the Plug-in Page
Import a plug-in definition to a file. - Resetting the Plug-in Interactive Report
Reset the plug-in interactive report to clear all current filters applied to the report. - Viewing Plug-in Utilization Page
The Plug-in Utilization page displays which pages, components, and regions use each plug-in. - 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.
Parent topic: Extending Application Capabilities
19.2.1 About Plug-ins
A plug-in is an extension to the built-in types available APEX. Create plug-ins for declarative use of new item, region, process and dynamic action types in your application.
APEX 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 APEX 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.
Parent topic: Implementing Plug-ins
19.2.2 Example Plug-ins
View plug-in examples on apex.world and the Oracle APEX GitHub repository.
You can view plug-in implementation examples in the following locations:
-
Explore APEX World Plug-ins.
-
View Sample Plug-in in the Oracle APEX GitHub repository:
-
Under Branches, select a release, and then Plug-ins.
Parent topic: Implementing Plug-ins
19.2.3 Creating a Plug-in
Create a plug-in by navigating to Shared Components and running the Create Plug-in wizard.
To create a plug-in:
Tip:
To learn more about an attributes described in this section see field-level Help.
Parent topic: Implementing Plug-ins
19.2.4 Editing a Plug-in
Edit a plug-in by navigating to Shared Components and selecting it on the Plug-ins page.
To edit a plug-in:
Parent topic: Implementing Plug-ins
19.2.5 Adding Custom Attributes to a Plug-in
Add Custom Attributes by editing the 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 checkbox on the right panel under Plug-ins is checked, this same Edit Attribute page displays.
Parent topic: Implementing Plug-ins
19.2.6 Creating a File to Associate with a Plug-in
Create a file to associate with a plug-in.
To create a file:
Parent topic: Implementing Plug-ins
19.2.7 Automatically Loading CSS and JavaScript Files
Automatically load CSS and JavaScript files when a plug-in is used on a page.
You can have APEX 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: Implementing Plug-ins
19.2.8 Adding Events to a Plug-in
Add events to an item, region, or dynamic action type plug-in, to enable them to be exposed to dynamic actions.
For example, suppose you have a Slider plug-in that exposes events such as Start Slide, Sliding, and Stop Slide, and allows the creation of dynamic actions that can react when these events occur.
To add events to a plug-in:
Parent topic: Implementing Plug-ins
19.2.9 Deleting a Plug-in
Delete plug-ins on the Edit page.
You can delete a plug-in if it is not in use. If a plug-in is in use, the Delete button does not display.
To delete a plug-in:
Parent topic: Implementing Plug-ins
19.2.10 Viewing the Plug-in Repository
The Plug-in Repository provides a central location where developers can share and download plug-ins.
The Plug-in Repository is located on the Oracle Technology Network.
To view the Plug-in repository:
Parent topic: Implementing Plug-ins
19.2.11 Exporting a Plug-in from the Plug-in Page
Export a plug-in definition to a file.
To export a plug-in from the Plug-in page:
Parent topic: Implementing Plug-ins
19.2.12 Importing a Plug-in from the Plug-in Page
Import a plug-in definition to a file.
To import a plug-in from the Plug-in page:
See Also:
Parent topic: Implementing Plug-ins
19.2.13 Resetting the Plug-in Interactive Report
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.14 Viewing Plug-in Utilization Page
The Plug-in Utilization page displays which pages, components, and regions use each plug-in.
To view the Plug-in Utilization page:
Parent topic: Implementing Plug-ins
19.2.15 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 the Plug-in History page:
Parent topic: Implementing Plug-ins