westchamp24

Graphics Not Being Included in PrintTask - NOT USING esri/dijit/Print

Discussion created by westchamp24 on Sep 24, 2013
Latest reply on Sep 26, 2013 by westchamp24
I have a Javascript application that is attempting to allow users to create exports (png,jpeg,pdf...etc) of the web maps they create inside the application.  I am NOT using the esri.dijit.Print, instead using the esri/tasks/PrintTask directly. 

For whatever reason, I can't seem to include any graphics (in either a GraphicsLayer or FeatureLayer instance) in the export.  The Basemap and visible ArcGISDynamicMapServiceLayers are included exactly as expected.  As far as I can tell, there is no flag in either the PrintParameters or PrintTemplate classes that would block graphics.

When I look at the outgoing http request for PrintTask.execute(), the graphics are DEFINITELY not included.  Is there something I am missing, any way to force graphics to be included on PrintTask.execute()?

Outcomes