Select to view content in your preferred language

Print widget (or service?) not including graphics

723
3
Jump to solution
05-10-2017 09:44 AM
DirkVandervoort
Frequent Contributor

The pic below shows the issue: I have an app I configured in the WAB that includes a Draw widget and a Print widget. When I draw graphics on the map, then use the Print widget to generate output, the graphics that I drew are not included in the output.

I verified that this is not a WAB issue. This example above is from  a client site. The example below is hosted at Azure. Note that the graphics are included with the print output.

What's up with that?

0 Kudos
1 Solution

Accepted Solutions
DirkVandervoort
Frequent Contributor

Problem solved: I had the wrong URL for the print service. This works and solves both issues: https://webadaptor.mydomain.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%2...

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Dirk,

  Do you have a proxy setup and configured in your WAB app. When you have graphics on the map the exportwebmapjson can get quite large and require a proxy to use POST instead of GET.

0 Kudos
DirkVandervoort
Frequent Contributor

Nope. I had the proxy set up correctly, so that's not it. 

What's interesting/strange - although maybe not related - is that configuring the print widget at this particular site doesn't give me the option to specify the Default Format and the Default Layout.

Problem Site:

Operational Site:

0 Kudos
DirkVandervoort
Frequent Contributor

Problem solved: I had the wrong URL for the print service. This works and solves both issues: https://webadaptor.mydomain.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%2...

0 Kudos