Printing  a Feature Layer With a Unique Value Renderer

Discussion created by pjlaird on Mar 6, 2014
Hi All,

ArcServer: 10.2
JSAPI: 3.8

I am having an issue with the Export Map Task when I set a UniqueValueRenderer on my FeatureLayer. The Export Map Task fails with the following error:

Layer "graphicsLayer1": Failed to create layer from service at https://domain.com/arcgis/rest/services/folder/service/MapServer/0. Failed to execute (ExportWebMap). Failed to execute (Export Web Map).

If I change the renderer on the FeatureLayer to a SimpleRender the Export Map Task executes just fine.

These are all secured services and I believe I do have the proxy etc. configured correctly as I can print. I have followed these instructions: http://resources.arcgis.com/en/help/main/10.2/index.html#//0154000005q3000000

Here is a JSFiddle with the code I am using. You will need to substitute secure services for the URL's at the top to reproduce it. This issue does not happen with publicly available services which leads me to think it is some sort of permission issue but I can't see anywhere else to setup correct permissions. Any help is appreciated.