AnsweredAssumed Answered

Printing

Question asked by jay.kapalczynski on Mar 24, 2014
Latest reply on Sep 30, 2014 by koder303
Hello
I am tryring to incorporate a Print funtion into my app from this example
https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html

If I use the example everything works alright....note that I reference my own proxy and printURL
I can print

The problem arises when I try and add my own feature services.
The map and print button appear as expected and the login screen appears as my services are secured.

If I add the below
The secured login screen appears.  I am able to enter my credentials and the Feature Service appears.
BUT when I hit the print button is just spins and spins...nothing happens

I changed the service name....It seems to be coming from the Service.
Can you print Secured services?
Does it have to be a Map Service?

Thanks

   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);

Outcomes