Select to view content in your preferred language

Failed to print ArcGIS Online layer

441
0
04-04-2022 01:44 AM
dedimi
by
Occasional Contributor

Hi All,

I tried to print in Web Map application using default printing tools (Export Web Map Task) in ArcGIS Server. I used ERSI base map (ArcGIS Online) as background of the map application. This print function encountered following error:

"Failed to create layer from service at http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer."

Below is part of the Web Map as JSON parameter that containing information from ArcGIS Online layer:

{"operationalLayers":[{"customParameters":null,"url":"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer","id":"satellite-base-layer","title":"World Imagery","opacity":1,"minScale":0,"maxScale":0},{"id":"17feed089bf-layer-31","title":"Activity Centre Boundary: District Center Boundary","opacity":1,"minScale":0,"maxScale":0,....

When I removed the above part of parameter (without base map, only using local layer), the printing tool run successfully with a printable output.

This Web Map app was created in ArcGIS Enterprise 10.7.1 Linux version.

Appreciate if anyone can have a workaround on this issue. 

Thanks

 

0 Kudos
0 Replies