Skip to Main Content

Breadcrumb

Examples

Basic URL Redirect

This is an example showing you a basic URL redirect using both a static URL or one derived from a PL/SQL Expression.

Note: the "Substituted URL" will redirect you to the home page of this application as we are using &HOME_LINK. as the URL value.

Updating Session State & Executing PL/SQL

There are some circumstances when you want to submit one or more page items on the page to recompute the URL, which may have a checksum. You may also want to execute some PLSQL as you may need to perform some additional logic, either to update the URL or before the redirect is issued.

Redirecting to/within a Modal Dialog

Using this dynamic action, you can perform the following actions with modal dialog pages:

  1. Open a modal dialog page
  2. Redirect within a dialog page to another dialog page
  3. Redirect the parent page from within the dialog page

Note: we have added a notification on the "Dialog Closed" event when the "Close" button is clicked within the dialog.

Opening a New Browser Tab/Window

An added flexibility with this plug-in is that instead of redirecting the current page to a new URL, you can optionally choose to open the new URL in a new browser tab/window (depending upon the browsers behaviour of window.open) for example:

PL/SQL Errors

What happens when an exception is raised in PL/SQL? An error message will be shown by default and the plug-in will trigger an event allowing you to perform some other action. Click on the button below to see an example of the default error message and a custom notification which listens to the "UC - Redirect - Error" event.

FAQ

  • When would I use a redirect over a submit action?

    The purpose of a redirect is like a shortcut/branch to another page/url that avoids any processing or validation. It can simplify how you design the processing of the page allowing you to have less conditions on your processes whilst still allowing you to execute some PLSQL if you wish.