var TestUrl = "https://web1.gov/arcgis/rest/services/Map/Map_Readonly/FeatureServer/0"; var FeatureLayer = new FeatureLayer(TestUrl, { mode: FeatureLayer.MODE_SNAPSHOT }); app.map.addLayer(FeatureLayer);
Hi Ben,
I am trying to do the secured print and have done exactly as they have indicated on the link you have provided.
My scenario is pretty straight forward. I create a map accessing secured serviced via a proxy. When I want to print I am using the esri/dijit/Print widget to which I assign my map and the URL of my secured print service which I have published.
After I call it, nothing happens and no map is printed. My only success with printing secured services was by creating a new map into which I load the main map's layers but I needed to append a short lived token to them.
Thank you.
HI Jay,
Were you able to get this to work?
Thanks.