How To: Update the legacy routing services for ArcGIS for Local and State Government (ArcGIS 10.2) applications


Some of the JavaScript applications in ArcGIS for Local Government and ArcGIS for State Government use the legacy routing service by default. As of December 31, 2013, the legacy geocoding service was retired and turned off.

This article describes the steps to disable the routing service functionality. Once disabled, the application is completely functional without using the routing legacy service.


To turn off the routing service, update the following applications using the steps below:

  • Park and Recreation Finder (ArcGIS 10.2)
  • Park and Recreation Locator (ArcGIS 10.2)
  • Water Access Locator (ArcGIS 10.2)
  • Wildlife Management Area Locator (ArcGIS 10.2)
  • My Hazard Information (ArcGIS 10.2)
  • My Government Services (ArcGIS 10.2)
  • Election Polling Place (ArcGIS 10.2)
  1. In Windows Explorer, browse to the location of the application.
  2. Browse to the config.js file.
  3. Copy the file and rename it backup_config.txt.
  4. Open the original config.js file in Microsoft Notepad or another text editor.
  5. Scroll down the config.js file to the code snippet for each application listed below:
    • Park and Recreation Finder, Park and Recreation Locator, Water Access Locator, and Wildlife Management Area Locator, use this parameter:
    GetDirections: true,
    • For My Hazard Information and My Government Services, use this parameter:
    Code: SearchforDirections: true,
    • Use this parameter for Election Polling Place:
    ShowDirection: true,
  6. Replace the word 'true' with the word 'false'.
  7. Save the config.js file.
  8. Open a web browser, clear the browsing cache and test the application to ensure it is operating correctly.

Related Information