Hi,
I am trying to add legend in Lagendpanel with Secured map services. It works fine when the map service is public,but with credentials it shows no legend text.
Proxy is set for this file and even in network I can see a proxy request for legend.
Has some one encountered a similar problem?
I am using ArcGIS Javascipt 3.x.
Thanks
Aditya
Hi @ADITYAKUMAR1, I haven't encountered this before. What was the response from the legend request via the proxy? Have you tried a different security method?
https://developers.arcgis.com/javascript/3/jshelp/ags_secureservices.html
I would recommend moving away from the resource proxy.
Hi @Noah-Sager
When I open the response, I can see all the legends. Its confusing for me as well because the response for public and secured services are same but for secured layer the legend is not working.
Thanks
Aditya