Printing to PDF

669
1
10-15-2014 01:03 PM
JasonWallace
New Contributor

Hey folks, I am following this tutorial: https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html to try and generate a PDF from my viewport.

When I change the appropriate parameters, the print button disappears. The only parameters I'm changing right now are the printURL and the proxy URL.

I'm guessing I'm getting tripped up on the proxy information, but I don't even know.

I appreciate your help.

0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor

I think you're guess about the proxy is correct.  You can try it by using the sampleserver6 print service, but your proxy.  My guess is that would also fail.

Did you install a proxy on your server?

Is this the first time you're using the proxy?

If you look at the network traffic what is the response for the proxy request?

http://yourserverwithapp.com/proxy/?http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utili......

0 Kudos