Hello! Has anyone had an issue printing from an AGOL WAB hosted website if an aerial from a map service is turned on? For years, we could print maps from our AGOL WAB hosted website with the aerial layer turned on (county hosted aerial). Now it throws an error and you can't print. City residents use this printing feature frequently, so we need it fixed. I turned off legend display for the aerial layer and it still throws an error. Once the website throws the error, it refuses to let you try again to print. The website must be completely reloaded. The print error is generated no matter what the format chosen is. The print widget is also slow to load with users having to wait 10+ seconds to edit options including the map title. URL to website: https://www.arcgis.com/apps/webappviewer/index.html?id=4bee8040046e45f78e5a8d330eb47b72&extent=-8634...
Has anyone run into this or have ideas on how to fix it? I put in a ticket with ESRI but they had no idea.
The imagery can't be added to the map.
Loading the site it's trying to hit URLs from an ArcGIS Server:
https://gismaps.onslowcountync.gov/arcgis/rest/services/WEB_PUBLICATIONS/County_streets/MapServer/0
I can't resolve those URLs.
If the aerial imagery service isn't accessible to public, fair to say that the print widget also won't work. The print widget will request this data - and it won't be able to get it. Extra problems when it's part of the basemap.
The imagery is from the county as a map service. It is publicly available.
is your aerial imagery service shared up with secured with user name and password?
No username and password needed since it is publicly available. We have another app created through Experience Builder and that won't print at all using the print widget. City of Jacksonville NC Public Map Official(Working Rebuild) (arcgis.com)
It's not publicly available, at least here in Australia. Is there a firewall or some other restriction on where this site can be accessed?
I open the public app you shared and everything loads fine except the imagery. Looking at the network traffic, the imagery service URLs are not resolvable at all.
If there is a firewall, vpn, authentication, or some other barrier that is preventing us from seeing these layers, it's fair to say the print widget won't be able to request them either. The print geoprocessing service is external to your web browser.
e.g. what happens is:
It's a common scenario when working with ArcGIS Enterprise and the portal<>server authentication configurations.