Linking WebVIs in a Web Application
- Updated2022-01-06
- 1 minute(s) read
Linking WebVIs in a Web Application
- On the Project Files tab, double-click the web application document to open it.
- In the web application document, select the top-level WebVI you want to link to. On the Item tab, copy the Relative URL.
- Open the top-level WebVI you want to link from.
- Switch to the panel and add a Hyperlink Control.
-
Select the Hyperlink Control. On the
Item tab, in the
URL field, paste the relative URL of the WebVI that you want to link to.
You may need to modify the relative URL depending on how your files are organized. Consider the following file structure.
Application | |———One.gviweb | |———Two.gviweb | |———Namespace_A | | | |———Three.gviweb | |———Namespace_B | |———Four.gviweb | |———Namespace_C | |———Five.gviweb
Link from Link to Relative URL One.gviweb Two.gviweb Two.html One.gviweb Three.gviweb Namespace_A/Three.html Three.gviweb One.gviweb ../One.html Three.gviweb Four.gviweb ../Namespace_B/Four.html Five.gviweb One.gviweb ../../One.html Five.gviweb Three.gviweb ../../Namespace_A/Three.html - Build your application and open the HTML output in a web browser to test the link you created.
Multiple Top-Level WebVIs