mountaincow

Legend Dijit Problem in Internet Explorer (IE)

Discussion created by mountaincow on Oct 31, 2011
Latest reply on Jul 30, 2012 by geos_rfleet
Is anyone else having a problem with the Legend dijit in JSAPI v2.1+ and IE? The legend dijit seems to work fine using services from ArcGIS Server version 9.3,9.3.1 and 10 in Firefox and other browsers but fails to load/generate legends from 9.3.1 versions in IE 7 and 8.

In the Legend.xd.js the following line exists which is used to construct a request to generate legend symbols for the dijit. However this URL is returning a 302 - Temporarily redirected status. IE doesn't seem to follow the redirect within the javascript code. Manually entering the address with the soapURL parameter does get redirected correctly.

Legend.xd.js
_legendUrl:"http://www.arcgis.com/sharing/tools/legend

Does anyone now of a way to override this to set it to the current legend service at http://utility.arcgis.com/sharing/tools/legend or other legend service?

Outcomes