JGBarclay

Identify Task with Layer Definitions

Discussion created by JGBarclay on Jan 21, 2014
Latest reply on Jan 27, 2014 by JGBarclay
I am having problems similar to this thread.

I have set up a proxy page and output directory, which ensures that layerDefinitions applied to a ArcGISDynamicMapServiceLayer work fine regardless of their length.

However, when I try to apply layerDefinitions to an Identify Task, I am experiencing problems when the task's execute method runs a GET request and the url exceeds 2048 characters.

When I run my page in IE10 and Safari 7, I never experience any problems, regardless of http request method or url length, but in Chrome 32 and Firefox 26, with GET and url length > 2048, I am receiving a 404 error.

Although the Identify Task execute method sometimes runs POST and sometimes runs GET, I can't work out any logic as to which is used, and can't see anywhere in the API that allows you to specify one or the other.

Any help would be appreciated, thanks.

Outcomes