English

Error: Error when using Select by Rectangle tool in an HTML Viewer

Error Message

The following error is displayed when using the Select by Rectangle tool to select some features and then zoom to those features in an HTML Viewer:

Code:
Unable to display map service. AXLParser: 'minx' not found in envelope


Note:
The error message is seen only when selFieldList[] and fieldAliasList[] are defined in the ArcIMSparams.js file.

Cause

The problem occurs because the selFieldList contains incorrectly defining ID and/or SHAPE fields in the ArcIMSparams.js file.

Code:
selFieldList[0]="ID SHAPE BLOCK LOT UID MUN ACRES IMAGEFILE SHTSCALE QUAL";

Solution or Workaround

The ID and SHAPE fields should be enclosed within # sign as in the example below.

Code:
selFieldList[0]="#ID# #SHAPE# BLOCK LOT UID MUN ACRES IMAGEFILE SHTSCALE QUAL";


Note:
The #SHAPE# and #ID# fields are required unless #ALL# is used. Also, the order of these fields is not important.