04-23-2020 10:05 PM
Hello all,
I would like to make a value signaling to a hyperlink control which can redirect to another WebVI instead of pressing on that hyperlink control. How can I do that?
For example I create a Login panel, after login success, it will redirect to another WebVI.
Thank for all your supports.
05-31-2020 07:14 PM
Hi anhduy92,
LabVIEW NXG 5.0 does not support manipulating a hyperlink control to trigger a page navigation. An alternative would be to use the JavaScript Library Interface (JSLI) to invoke a JavaScript function that is capable of redirecting the browser window to a new URL.
The example attached to the post LabVIEW NXG WebVI's accessing the query string in its URL includes a Set Window Location VI example that demonstrates how to use the JSLI to redirect a page to a new URL.