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

相关信息
Article ID: 41762
Bug Id: NIM088287
Software:
ArcGIS for Local Government 10.1
Platforms: N/A

BUG描述
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.

BUG原因
This is caused by hardcoded values in the utils.js file.
已邀请:

EsriSupport

赞同来自:

解决方案
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. ... ot%3B,
  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://%26lt%3Byourserver.your ... ot%3B,
  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. ... ot%3B
  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://%26lt%3Byourserver.your ... ot%3B
  8. Save the utils.js file
  9. Open a web browser, clear the cache and test the application to ensure it is operating correctly.


创建及修改时间
Created: 11/4/2013

Last Modified: 11/5/2013
原文链接
http://support.esri.com/en/kno ... 41762

要回复问题请先登录注册