Edit the HTML5 Viewer proxy.config File

To ensure that the new application gets weather information, you need to edit the HTML Viewer's proxy file. AOP uses a third-party weather service, and the URL to the weather API must be added to the Viewer proxy.config file.

To edit the HTML5 Proxy:

  1. On the desktop, click Windows Start and type the name of text editor you plan to use, for example, Notepadd++.
  2. When name of the application appears in the search results, right-click the name and select Run as administrator.

  3. When Windows asks you to confirm that you want make changes to the computer, click Yes.
  4. In the text editor, click File | Open and navigate to inetpub folder where your viewer is installed. The default location is : C:\inetpub\wwwroot\Html5Viewer\ .
  5. Open the proxy.config file.
  6. Paste the following URL into the proxy.config file:

    <serverUrl url="http://api.openweathermap.org/"
    ...........matchAll="true"></serverUrl>

     

  7. Click File | Save.

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 2.0