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.

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

To use an Open URL action:

  1. Add the action in one of three ways, as explained at the end of Built-In Actions.
  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