This example demonstrates how to embed custom web content into the WebVI panel using G Web Development Software. WebVIs use HTML to define and describe the content of the panel that is loaded in a web page. This means that you can add custom HTML content to appear alongside the generated HTML.

EmbedWebVIIntoContent/WebVI/Embed WebVI into Content.gwebproject.WebApp.gcomp and open index.gviweb.WebApp.gcomp to open the web application component.You can manually the move the build output found at \EmbedWebVIIntoContent\Builds to any web server. This project also includes a Distribution (WebApp.lvdist) that can be used to build a package (.nipkg). Packages utilize NI Package Manager to automate the process of installing, upgrading, or removing the web app. A package is also a requirement for hosting a Web application on SystemLink Cloud.
The following steps can be used to host the web app on SystemLink Cloud
EmbedWebVIIntoContent.gwebproject.WebApp.lvdist.The following steps can be used to host the web app on a local web server
EmbedWebVIIntoContent.gwebprojectWebApp.lvdist.http://localhost:9090/embedcontentintowebvi/C:\Program Files (x86)\National Instruments\Shared\NI WebServer\www.WebApp_Default Web Server directory into the www directory.http://localhost:8080/WebApp_Default%20Web%20Server/C:\Program Files\National Instruments\Shared\Web Server\htdocs.WebApp_Default Web Server directory into the htdocs directory.http://localhost:9090/WebApp_Default%20Web%20Server/.
    This section describes the content added to the HTML source of the WebVI to create a web page that shows current weather conditions for Iowa State University. The HTML source can be edited by clicking the Edit panel HTML button in the WebVI panel’s toolbar.
This example uses an <iframe> generated from Google Maps was added to show the location of the web cam on a map.
<div>
  <iframe id="map" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3083.9251931399904!2d-74.4527296846353!3d39.380569979499064!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89c0efaacf825f6f%3A0x6d8892ab37e17426!2s1801+Absecon+Blvd%2C+Atlantic+City%2C+NJ+08401!5e0!3m2!1sen!2sus!4v1502732532752 "width="300" height="250" frameborder="0" style="border:0" allowfullscreen=""></iframe>
</div>
The URL Image indicator from the Drawings palette category allows you to enter a URL to an external image. The URL Image supports both static images (.jpg, .png, etc.) and animated images (.gif, etc.).
This example uses the following image URL from the University of Delaware Public Utilities: https://ceoe-contrail.ceoe.udel.edu:8100/Mjpeg/1?authToken=d392c0a2-3a6c-4a94-aad8-1c248e44915a