- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Opening a Form in a New Window
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 5.13.1 |
Root Folder | Example Lab - Open Form in New Window |
Modules | None |
Dependencies | None |
This Example Lab project demonstrates how to open a Form in another window.
Explanation
The first Form in this example has a data grid with an "Open URL" button. When one of the data grid lines is selected, a data Flow executes that generates a URL based on the email in that line. In the data Flow, the String Replace Value step named "Replace Tokens In Text" has a URL with variables in brackets. When ran, those variables are replaced with the variables in the Flow. This newly created URL is then output from the Flow, to be used on the Form. On the Form, the "Open URL Button" Uses this output URL to open the second Form in a new window. The second Form uses the email passed in through the URL as an input to dynamically change the label depending on which line was selected.