Skip to main content

Command Palette

Search for a command to run...

Oracle APEX - Show Unsaved Changes Plugin

#lib4x

Updated
2 min read
K

Application Developer, applying Oracle APEX to develop Data-Centric, Workflow, BPM and Case Management applications.

Sharing a dynamic action plugin enabling you to show a message notification listing all unsaved changes on the page.

These can be changes from Page Items, Interactive Grids and extra changes. The logic to detect the changes is the same as the check behind the 'unsaved changes check' upon page unload. As a consequence, page items where 'Warn on Unsaved Changes' is configured as 'Ignore' are ignored here as well. So when the user is encountering the warning on unsaved changes, this plugin functionality enables the user to check the concrete changes.

A listed change acts as a link, enabling the user to focus the related Page Item or Interactive Grid row. When the Page Item is not visible as because of a collapsed region or non-active tab, the region or tab will be made visible/active. Same as APEX is doing for ‘Show Errors’. When there are multiple changes in an Interactive Grid, it will focus the row with the first applied change.

You find a demo page here. It has the feature enabled behind the Info button menu in the Banner:

Also when refreshing the page or trying to leave and a warning on unsaved changes pops up, upon cancel automatically the message notification is given with an auto-dismiss of 5 seconds.

And that makes up plugin number 13 under the lib4x umbrella. Stay tuned for more.