Add an Open URL Action

You add an Open URL action to navigate to an external URL. In a web app, this action opens the specified URL in the current window or in a new window.

To use an Open URL action:

  1. Add the action in one of three ways, depending on your preference and where you want it added:
    • Drag the action from the Actions palette onto the canvas, dropping the action either at the bottom edge of the action it is to follow, or at the top edge of the action it is to precede.
    • Double-click the action in the Actions palette to add it to an empty canvas or to the end of an action chain.
    • On the canvas, select the action you want the new action to follow, then double-click the new action in the Actions palette.
  2. In the Properties pane, enter the URL to navigate to.
  3. Optional: For URL Parameters, if required, provide a key/value pair map of query parameters to pass to the specified URL.
  4. Optional: For Hash, specify the hash entry to append to the URL. 
  5. For Browser History, select either replace or push (default) to define the effect on browser history. This value is used only if the resource is used in the same window. If you chose replace, the current browser history entry is replaced instead of pushed, meaning that the back button will not go back to that page.
  6. For Window Name, specify a name identifying the window as defined in the window.open() API. If not defined, the URL opens in the current window. For apps on mobile devices, you have three possible values: _self (default), _blank, or _system. For local file types, this property is ignored.

    Here's an example to open a new browser window with the specified URL. If you specify a value for the Window Name property (as shown here), once on the URL, the browser back button will re-enter the last page and the page input parameters will be remembered.
    Description of jsac-open-url-example.jpg follows
    Description of the illustration jsac-open-url-example.jpg

For API information about this action, see Open URL in the Oracle Visual Builder Page Model Reference.