Select to view content in your preferred language

Print Widget w/ Custom Template Fails in Chrome

939
4
08-07-2017 01:02 PM
AhjungKim4
Frequent Contributor

We're using the AGO version of Web AppBuilder.  A team member published custom print template to internal facing ArcGIS Server.  In WAB, the print widget was configured pointing to the service URL.  Print widget works fine in Internet Explorer, but in Chrome, print job fails.  I can see that in Chrome, "submit job" request is being proxied.

Request URL in Chrome:
http://[our org name].maps.arcgis.com/sharing/proxy?http:/[internal facing ArcGIS Server name]/arcgis/rest/services/PrintTemplates/[custom service name]/GPServer/Export%20Web%20Map/submitJob

Request URL in  Internet Explorer:

http:/[internal facing ArcGIS Server name]/arcgis/rest/services/PrintTemplates/[custom service name]/GPServer/Export%20Web%20Map/submitJob

I can't quite figure out why "http://[our org name].maps.arcgis.com/sharing/proxy?" is being appended at the beginning of the request in Chrome. 

Tags (1)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

Ahjung,

   The request is being proxied in Chrome because this is the correct action when communicating between two servers. The fact that IE is not proxying the request is a IE issue. If the print job is failing when being proxied then it sounds like you do not have your internal ArcGIS server url added to your proxy.config.

AhjungKim4
Frequent Contributor

Thank you for the input.  This app is built with AGO WAB so I can't edit proxy.config. Is there a workaround?  

RobertScheitlin__GISP
MVP Emeritus

Not that I am aware of. You should contact esri tech support.

0 Kudos
TanuHoque
Esri Regular Contributor

looking at the request, I looks like the print service is set to run in async mode. WAB does not like async print service.

please see step #4 in the following help if your print service is published in a portal

Share custom layouts for printing from ArcGIS Pro—Documentation (10.7) | Documentation for ArcGIS En... 

or, see step #5 in the next section if you have your print service running on a standalone server

Share custom layouts for printing from ArcGIS Pro—Documentation (10.7) | Documentation for ArcGIS En... 

Make this change and give this a try and let me know if it does not work.