Select to view content in your preferred language

Printing graphics and dynamic layers

1037
11
06-24-2013 06:47 AM
PramodHarithsa1
Frequent Contributor
Hi all,
I am working with this sample https://developers.arcgis.com/en/javascript/jssamples/widget_print.html
But unable to get the print widget working when i add graphics(I am trying to present the search results as a graphic layer)
or the operational layers to the map.
it works only if arcgisonline services are being used.


Code sample: http://jsfiddle.net/AtrBj/
Whats the tweak i am missing here?
0 Kudos
11 Replies
melissaGomez
Occasional Contributor
I finally got it to work. 🙂 I was actually calling a Dynamic Service twice and it was giving me a hiccup.
I did do everything you said as far as downloading the proxy, so that helped. I also had to add my computer name to the serverUrl:
<serverUrl url="http://[mybox]/"
               matchAll="true"></serverUrl>

This seemed to work as well.
My "print out" is now coming up. 🙂

Thank you..
0 Kudos
JohnGravois
Deactivated User
you're very welcome.  glad to hear you're sorted.
0 Kudos