LayerDefinition query size > 500 or so bytes

467
0
03-04-2014 03:26 PM
stevenwhite1
New Contributor
G'day,

We have moved from ArcGIS JS 2.1 to 3.8 and I have now noticed that when using a long LayerDefinition clause it doesn't do anything however subsequent map operations such as pan or zoom then raise stack exceptions (IE 9 though Chrome doesn't work either) until I reset the LayerDefinition to the default. It only seems to work if the LayerDefinition is limited to 500 or so characters.

ArcGIS 2.1 also does not work for large layer definition queries but we don't seem to get stack exception in that version. It fails silently.

The definition query is of the form "OBJECTID IN (1,2,3,4,...)"

We have the proxy configured via esriConfig.defaults.io.proxyUrl and esriConfig.defaults.io.alwaysUseProxy and this seems to work for the rest of the map functionality.

Is this a known or expected limitation?

Steven.
0 Kudos
0 Replies