Error: Error when using Select by Rectangle tool in an HTML Viewer
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:
Unable to display map service. AXLParser: 'minx' not found in envelope
The error message is seen only when selFieldList and fieldAliasList are defined in the ArcIMSparams.js file.
The problem occurs because the selFieldList contains incorrectly defining ID and/or SHAPE fields in the ArcIMSparams.js file.
selFieldList="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.
selFieldList="#ID# #SHAPE# BLOCK LOT UID MUN ACRES IMAGEFILE SHTSCALE QUAL";
The #SHAPE# and #ID# fields are required unless #ALL# is used. Also, the order of these fields is not important.