Open URL Node

Open URL Node

This page is for application designers who need to configure functionality for components or events. It explains the properties for the open URL node, which is part of an actionflow.

Overview

Use a 

node in an actionflow to open a URL in a new tab once the actionflow has completed. The node can also be used to send emails and call telephone numbers.

Examples

Opening a Web Page

To open a webpage the open URL node needs a valid URL to be mapped to the URL attribute. The format of the URL must be:

'https://www.url.com'

If you want the application user to provide the URL, use a calculate node ensure the URL has the correct format. For example, the following  expression uses a switch statement to prepend https://www.

//for URL's to open correctly they must start with https://www. switch( [startsWith(in.URL, "https://"), in.URL ], [startsWith(in.URL, "www."), "https://" + in.URL ], "https://www." + in.URL )

 

The following video shows how an application user types a URL into a field, and the web page then opens.

The underlying actionflow includes an Open URL node, as follows:

Sending an Email

Calling a Telephone Number

Use the Open URL node to make a VoIP call to a telephone number. Map a valid telephone number to the URL attribute as follows:

'callto:' + in.TelephoneNumber

The function 'callto:' causes the browser to open an appropriate VoIP client, such as Microsoft Teams. The VoIP client then calls the number provided. This is illustrated in the following video.

Basic Settings

Field

Description

Name

Enter the name for the action node.

Attributes

Each open URL node has the following attributes which can be mapped to.

Attribute

Type

Description

Name

String

Optionally specify the browser window, <iframe> or tab into which to load the specified resource. If no name is provided, PhixFlow opens a new browser window.

This name must not contain whitespace.

Features

String

Optionally specify a comma-separated list of window features in the form:

  • name=value

  • for boolean features, just name

These features include options such as:

  • the window's default size and position

  • whether or not to open a minimal popup

For details about specifying window features, see the developer.mozilla.org page Window.open() .

URL

String

Specify the URL of the resource to be opened. This can also be the mailto: and callto: functions, as shown in the examples above.

 

Sections on this page

Learn More

For links to all pages in this topic, see Understanding Actionflows