Configure application

The Election Results Viewer application consumes services that are accessible to general public and other interested parties in your community. You can configure Election Results Viewer application and share it with general public. The general public can then access the application on their smartphones, tablets, and desktop computers.

Election Results Viewer

To configure the Election Results Viewer application, complete the following steps:

  1. Using Windows Explorer, browse to the Application\ElectionResults folder and open the proxy.config file in Microsoft Notepad or another text editor. Enter the URL for each service referenced in the configuration of the application, then save the file and exit.
  2. Using Windows Explorer, browse to the Application\ElectionResults\js folder and open the config.js file in Microsoft Notepad or another text editor. Replace each URL with the path to your corresponding service, then save the file and exit.
    Replace each of these URLs... With URLs for these services from your REST endpoint...
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/8 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ReferenceOverlay/MapServer Reference Overlay service
    http://yourserver/arcgis/rest/services/Utilities/Geometry/GeometryServer Geometry service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/0 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/1 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/2 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/3 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/4 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/5 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/6 ElectionResults service
    http://yourserver/ArcGIS/rest/services/ElectionResults/MapServer/7 ElectionResults service
Top