Is This Content Helpful?
We're glad to know this article was helpful.
When a query request is sent to an ArcIMS layer through HTML Viewer, Internet Explorer returns following error message:
"A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may be unresponsive. Do you want to abort the script? (Yes/No)"
If you choose "Yes", the browser may hang or run slowly.
In order to avoid such large ArcXML responses, be sure to limit the amount of data that can be passed at one time to the HTML Viewer. This can be achieved by following one of two options below:
//If true, a list must be defined in selFieldList[n] for each layer to update selectFields
// array for each layer's returned fields if swapSelectFields=true
var selFieldList = new Array();
// sample set for world - if not #ALL#, id and shape fields required. Separate with a space
selFieldList="NAME COUNTRY POPULATION #ID# #SHAPE#";
selFieldList="URL #ID# #SHAPE#";
See Customizing HTML Viewer for more descriptions on setting the selection field list array.