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()?