Configure application proxy

The Residential Comp Finder application consumes services you authored and geographic information from your organization. The application also consumes business and demographic information provided by Esri's GeoEnrichment Service to generate property and community reports.

Esri's GeoEnrichment Service uses service credits to generate property and community reports.

Add service URLs

The proxy file allows the application to access services you author with geographic information from your organization. To configure the proxy to access your services, complete the following steps:

  1. Using Windows Explorer, browse to your <your directory>\Application\ResidentialCompFinder\proxy folder and open proxy.config in Microsoft Notepad or another text editor.
  2. Enter the URL of each ArcGIS Services Directory referenced in your Sales map. Each URL must be enclosed in a set of serverURL tags. If default URLs are listed, ensure these URLs are not removed. All web traffic goes through the proxy and the default URLs are required by the application.
                    
    <serverUrl url="http://yourserver/arcgis/rest/services/"></serverUrl>
    <serverUrl url="http://route.arcgis.com/arcgis/rest/"></serverUrl>
                
              
  3. Save the file and exit.

Add and register an application with your ArcGIS Online organizational account

The Residential Comp Finder application combines property searching capabilities with key community demographics. To enable this functionality, the application must be registered with an ArcGIS Online for organizations account.

To register your application, complete the following steps:

  1. Add the application to your ArcGIS Online for organizations account using the following parameters:
    • The item is: An Application and item type is Web Mapping
    • URL: Type the URL for you application
    • Purpose: Ready To Use
    • API: JavaScript
    • Title: Type the application title
    • Tags: Add the application tags
  2. Register your app using the following parameters:
    • App Type: Browser
    • Redirect URI: Type the fully qualified URI for your server and the web server port. This is usually port 80, not the port for ArcGIS for Server (port 6080), for example http://servername.domain:[80].
  3. Copy the App ID and App Secret values to a text file for use later in the configuration.

Add application registration to the proxy

The proxy file allows the application to access the ArcGIS Online World Route Service. To configure the proxy to access the drive-time and routing services, complete the following steps:

  1. Using Windows Explorer, browse to <your web server directory>\ResidentialCompFinder\proxy and open the proxy.config file in Microsoft Notepad or another text editor.
  2. Copy the App ID and App Secret values from the text file to the appropriate tags.
    App ID clientId="App ID"
    App Secret clientSecret="App Secret"
  3. Set the rateLimit and rateLimitPeriod values.
    Rate Limit rateLimit="50"
    Rate Limit Period (in minutes) rateLimitPeriod="10"
  4. Enter the URL of each ArcGIS Services Directory referenced in the configuration of the application. Each URL must be enclosed in a set of serverURL tags. If default URLs are listed, ensure these URLs are not removed. All web traffic goes through the proxy and the default URLs are required by the application.
  5. Save the file and exit.
Top