BUG

Tax Parcel Viewer's Create Property Report and Create Property Map use hardcoded sample map services from utils.js instead of the config.js

Last Published: April 25, 2020

Description

The ArcGIS for Local Government Tax Parcel Viewer (10.1) uses hardcoded sample map services in the utils.js file instead of using the map services defined in the config.js file. This prevents the Create Property Report and Create Property Map functions from generating the correct pdf content.

Cause

This is caused by hardcoded values in the utils.js file.

Workaround

The steps provided describe how to update ArcGIS for Local Government’s Tax Parcel Viewer application (10.1) to use the organization's map services for generating property reports and property maps.

  1. In Windows Explorer, navigate to the installation location of the application, and browse to the js/utils.js file.
  2. Copy the file and rename it backup_utils.txt.
  3. Open the original utils.js in Notepad or another text editor.
  4. Scroll down the utils.js file (approximately line 1311) to the map service below:

    "url": "http://localgovtemplates.esri.com/ArcGIS/rest/services/TaxParcelQuery/MapServer/0",

  5. Copy and paste the TaxParcelQuery map service published locally, overwriting the hardcoded sample service.

    The result should look similar to the code snippet below:

    "url": "http://<yourserver.yourdomain.com>/ArcGIS/rest/services/TaxParcelQuery/MapServer/0",

  6. Save the utils.js file and scroll down the utils.js file (approximately line 1355) to the map service below:

    "url": "http://localgovtemplates.esri.com/ArcGIS/rest/services/ParcelPublicAccessforBloomfield/MapServer"

  7. Copy and paste the ParcelPublicAccessMI map service published locally, overwriting the hardcoded sample service.

    The result should look similar to the code snippet below:

    "url": "http://<yourserver.yourdomain.com>/ArcGIS/rest/services/ParcelPublicAccessMI/MapServer"

  8. Save the utils.js file
  9. Open a web browser, clear the cache and test the application to ensure it is operating correctly.

Article ID:000011910

Software:
  • ArcGIS for Local Government

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic