Skip to content

Dynamic Action

The plug-in implements the Oracle APEX dynamic action plug-in API.

Application attributes are set immediatley after installing the plug-in and can be changed in Shared Components // Component Settings. The plug-in exposes 3 application attributes that are used to save, fetch, and delete end-user defined chart reports.

An example implementation is part of the sample application supporting objects. Learn more in the Sample Application section.

The procedure saves the current changes applied to the Oracle APEX JET chart when the end-user selects the plug-in Reports // Save functionality. The procedure must implement the following parameters and insert the plug-in data into a defined table.

ParameterDirectionTypeDescription
pi/_userINVARCHAR2The current end-user username.
pi/_region/_idINVARCHAR2Chart region id (static id if defined).
pi/_report/_nameINVARCHAR2The report name given by the end-user.
pi/_keysINVARCHAR2A colon-separated list of JET chart attributes to be saved.
pi/_valuesINVARCHAR2A colon-separated list of JET chart attribute values to be saved.
po/_messageOUTVARCHAR2Message to be displayed after successfully saving a chart report.
po/_statusOUTBOOLEANIf true, a message is displayed using apex.message.showPageSuccess. Otherwise, a message is displayed using apex.message.showErrors.

An example implementation is part of the sample application supporting objects. Learn more in the Sample Application section.

The procedure fetches all saved Oracle APEX JET chart reports for the current user. The procedure must implement the following parameters and select an existing chart report’s data from a defined table.

ParameterDirectionTypeDescription
pi/_userINVARCHAR2The current end-user username.
pi/_region/_idINVARCHAR2Chart region id (static id if defined).
po/_reportsOUTVARCHAR2A colon-separated list of the plug-in chart reports names
po/_keysOUTVARCHAR2A colon-separated list of the JET chart attributes to be saved.
po/_valuesOUTVARCHAR2A colon-separated list of the JET chart attribute values to be saved.

An example implementation is part of the sample application supporting objects. Learn more in the Sample Application section.

The procedure deletes the selected saved Oracle APEX JET chart report for the current user. The procedure must implement the following parameters and it deletes a existing chart report’s data from a defined table.

ParameterDirectionTypeDescription
pi/_userINVARCHAR2The current end-user username.
pi/_region/_idINVARCHAR2Chart region id (static id if defined).
pi/_report/_nameINVARCHAR2The report name given by the end-user.
po/_messageOUTVARCHAR2Message to be displayed after successfully deleting a chart report.
po/_statusOUTBOOLEANIf true, a message is displayed using apex.message.showPageSuccess. Otherwise, a message is displayed using apex.message.showErrors.

Standard attributes define what APEX components will be exposed via dynamic action affected elements. The plug-in uses 2 standard attributes: For Region and Affected Element Required.

AttributeSupported
For Item(s)(error)
For Button(error)
For Region(tick)
For jQuery Selector(error)
For JavaScript Expression(error)
For Triggering Element(error)
For Event Source(error)
Affected Element Required(tick)
Check “Fire on Initialization”(error)
Has “Stop Execution on Error” Attribute(error)
Has “Wait For Result” Attribute(error)
Has “Initialization JavaScript Code” Attribute(error)

Custom Attributes are attributes exposed for the APEX page designer. The plug-in doesn’t expose any custom attributes.