Deploying and Previewing Graph¶
After completing the configuration of the graph page, you can export the graph as an .SVG file and deploy it on the Web server.
Prerequisites¶
Before deploying the graph to the Web server, ensure that the service account (SA) of the application built with EnOS HMI has been authorized to access asset data. Otherwise, the bound dynamic data cannot be displayed on the preview page. For more information about authorizing the SA account, see Managing Service Accounts.
Procedure¶
Select File > Export SVG … from the menu.
Export the graph as an .SVG file and save it in local directory.
Select File > Upload SVG from the menu.
In the Upload File window, select the directory to save the deployed file. If an asset tree or asset has the
type=HMI
tag, the graph file cannot stored under the asset name directory. This asset can be considered as a “site” or “plant”.Select the language of the deployment environment.
Click Add Files, browse and select the .SVG file to be uploaded, and click Upload.
The uploaded .SVG file will be displayed in the Files section. Right-click the uploaded .SVG file, and select Preview.
In the browser window, enter your EnOS account and password to log in the web page to preview the deployed data monitoring page.
Check the layout of the deployed page and displayed asset data.
If you need to further edit the page, update the graph file, export it as an .SVG file, and deploy it to the Web server again.