Esri.dijit.print problem

624
3
Jump to solution
08-21-2013 05:45 AM
DainiusTamosiunas
New Contributor III
I'm using Esri.dijit.Print to print a map with MAP_ONLY template. In the generated PDF only map graphics (Esri.graphics) are visible. Basemap and service layers (loaded on map in webapp) are not visible. Browsers not throwing any errors... Any suggestions?
0 Kudos
1 Solution

Accepted Solutions
DainiusTamosiunas
New Contributor III
Fixed it. Looks like it was getting proxy generated layers urls which only works in map application server and printing is being executed on another server, so it was not able to reach those services that way. Got rid of proxy and it works as expected 🙂

View solution in original post

0 Kudos
3 Replies
JeffPace
MVP Alum
I'm using Esri.dijit.Print to print a map with MAP_ONLY template. In the generated PDF only map graphics (Esri.graphics) are visible. Basemap and service layers (loaded on map in webapp) are not visible. Browsers not throwing any errors... Any suggestions?


are your basemap and service layers publicly accessible?
0 Kudos
DainiusTamosiunas
New Contributor III
are your basemap and service layers publicly accessible?


Yes, they are publicly accessible.
0 Kudos
DainiusTamosiunas
New Contributor III
Fixed it. Looks like it was getting proxy generated layers urls which only works in map application server and printing is being executed on another server, so it was not able to reach those services that way. Got rid of proxy and it works as expected 🙂
0 Kudos