Issue
How can a webpage be integrated into Vista graphic pages for a seamless transition between a graphic page and a 3rd party website such as:
- Static information, such as a site webpage
- Device webpage (power meters, sensor, etc.
Product Line
TAC Vista
Environment
Vista Server 5.x.x
Cause
The Hyperlink database object in Vista can store a URL address. By linking to this Hyperlink object with a standard link in a Vista graphic page, standard components can be used and support common graphic pages for different sites and reusability.
Note: More complicated integration can be accomplished with javascript, but this requires custom components such as accessing web services such as weather.com data for actual display on your graphic page.
Resolution
Create a Hyperlink object in the Vista database for each page you want to make available.
Use a link in the TGML graphic page to access this Hyperlink object. Clicking the link on your graphic page will display the webpage in the Vista Workstation window.
Target Property
The target property can be configured for Webstation display to control the window or frame the link is opened in. The options _top, _self, and _parent will be ignored in WebStation and treated as _blank, which will open a new tab or frame depending on your browser settings.
If you specify a target frame you must match the exact syntax of the WebStation frame names from the following list:
TAC_WebStation_header
TAC_WebStation_left
TAC_WebStation_contents
TAC_WebStation_footer