Opening a Form in a New Window
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Opening a Form in a New Window

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version5.13.1
Root FolderExample Lab - Open Form in New Window
Modules None
DependenciesNone

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.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 5.13.1 or later using our Importing/Exporting article.





Was this article helpful?