Image Added Use a Insert excerpt |
---|
| _action_url |
---|
| _action_url |
---|
nopanel | true |
---|
| 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. ExamplesOpening a Web PageTo 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: Code Block |
---|
'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. Code Block |
---|
//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. Image Added The underlying actionflow includes an Open URL node, as follows: Image AddedSending an Email Excerpt |
---|
| Use the open URL node to send an email. A valid email address must be mapped to the URL attribute in the format: Code Block |
---|
'mailto:' + in.EmailAddress |
The function 'mailto:' causes the browser to open an appropriate email web client and sets the email address to the one provided. Image Added Provide different URL expressions to populate the email: Subject Code Block |
---|
'mailto:' + in.EmailAddress + "?subject=" + in.Subject
//or
'mailto:' + in.EmailAddress + "?subject=Email Subject" |
CC Code Block |
---|
'mailto:' + in.EmailAddress + "?cc=" + in.cc1 + "," + in.cc2
//or
'mailto:' + in.EmailAddress + "?cc=someoneelse@email.com, another@email.com" |
BCC Code Block |
---|
'mailto:' + in.EmailAddress + "?bcc=" + in.cc1 + "," + in.cc2
//or
'mailto:' + in.EmailAddress + "?bcc=someoneelse@email. |
|
|