Install the Application

Complete the following steps to install the application:

  1. Copy the contents of the 'site' subfolder of the zip file into the desired folder in your web server's root directory (the relative path is [DiscoveryApplicationPath]). In IIS, the default location for the web server's root folder is c:\inetpub\wwwroot.
  2. In IIS, convert the folder to a "Web Application" and add .json (application/json) MIME type.
  3. Optional: If your application edits features in a feature service or generates requests that exceed 2000 characters, you may need to setup and use a proxy page. Common situations where you may exceed the URL length are: using complex polygons as input to a task or specifying a spatial reference using well-known text (WKT). View the ArcGIS API for JavaScript Proxy help topic for details on installing and configuring a proxy page.
  4. Test the page using the following URL: http://localhost/[DiscoveryApplicationPath]/index.html, where [DiscoveryApplicationPath] is as determined in step 1.
  5. To take advantage of server side geoprocessing tools (Shapefile/KML/KMZ polygon search and reporting support) deploy DiscoveryGeoprocessing.sd, located in geoprocessing\data\geoprocessing, to an ArcGIS Server instance. Make sure upload is enabled when publishing the geoprocessing service.
Top