|
POST
|
Rebecca, 'Unable to complete' is a very generic message. It does not give you much info why it is failing. I'd suggest you to change your print service message level to 'Info' and check what is the message returned by the service when it fails. If you use web app, then you can use browser's Developer Tools to check the network traffic to find that out. also, pls check the Server log. Thanks. Tanu
... View more
06-19-2018
03:08 PM
|
0
|
8
|
3830
|
|
POST
|
FYI: this issue is fixed in 10.6 out of the box print service (i.e http://machine/arcgis/rest/services/Utilities/PrintTools/...) or if you publish a print service from ArcGIS Pro 2.1 to ArcGIS Server 10.6. just for a quick try, you can use the following print service off a sample server: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task What's new in ArcGIS Server 10.6 — Improved Print Service
... View more
06-15-2018
09:58 AM
|
1
|
11
|
4719
|
|
POST
|
if it is the out of the box print service, then you should be good. you'd not need portal. just install 10.6 server, start the out of the print service using Manager and give this a shot. there are many other benefits you'd get from it such as vector tile layer support, supports for JS API smart mapping etc. What's new in ArcGIS Server 10.6 - Improved Print Service
... View more
06-14-2018
11:11 AM
|
0
|
0
|
3132
|
|
POST
|
sorry, I guess wasn't clear enough with my first question. the print service that you use in your JS API app - is that the one that comes with a server install? the print service that gets installed as part of server install, lives inside Utilities folder and the url looks something like this: http://machine/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task
... View more
06-14-2018
10:57 AM
|
0
|
2
|
3132
|
|
POST
|
that is weird. would you mind installing a 10.6 server and apply the following patch and give it a shot off your machine. ArcGIS Server 10.6 Printing and Script Tool Patch I was not able to repro this sporadic nature with the print service running off my machine. quick question before you upgrade: 1) do you use out of the box print service or you use print service published from ArcMap using your own layout templates? 2) if you do not use the out of the box print service, then do you have portal installed?
... View more
06-14-2018
10:46 AM
|
0
|
0
|
3132
|
|
POST
|
Thanks. Any chance you can move to 10.6 - as you see it works with 10.6 out of the box print service (that is the one running on the sampleserver6 server). I will investigate it further to find out what is causing it not to draw. thanks.
... View more
06-14-2018
10:26 AM
|
0
|
6
|
3132
|
|
POST
|
Hi Xuejin, 1) Is it possible to publish our custom printing service from ArcMap 10.6.1 to ArcGIS Server 10.6.1, and still be able to support vector tile printing? (we tried but could not do it with 10.6) Unfortunately the answer is no. Technically when you publish print services from ArcMap and ArcGIS Pro, they create printing services that are implemented completely two different ways. One is based on the technology that powers ArcMap; and the other one run on top of the most modern, robust technology that powers ArcGIS Pro. Hence all the improvements and new layer type supports you will find with print services (published from Pro) are not available with print services (published from ArcMap). 2) If we have to publish from ArcGIS Pro, is it possible to publish this custom printing service from ArcGIS Pro 2.2 to ArcGIS Server directly? We tried to publish this service from ArcGIS Pro 2.1, but we could not publish to ArcGIS Server directly. As of now, that is a no too If needed, we could set up ArcGIS Portal on premise. If we could not publish this custom printing service to ArcGIS server directly, then we probably have to set up portal. Yes, publishing from ArcGIS Pro requires you to have an on-premises portal. That is just not for publishing a print service, it is same for all other services you want to publish from ArcGIS Pro. Hope this helps. Pls let me know if you have any question. Tanu
... View more
06-14-2018
10:18 AM
|
1
|
4
|
5315
|
|
POST
|
urgh, that might be a bug. I need to dig in further. what version of ArcGIS Server are you running? thanks for confirming that it works for you too with sampleserver6 print service.
... View more
06-13-2018
03:48 PM
|
0
|
8
|
4948
|
|
POST
|
thanks... can you pls try with the following print service? http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/ also, i have noticed that 'name' properties, in 'layers' element inside the json that you attached, are not within a pair of double quotes. is that just a copy/paste error or that is how it is being generated by JS API/the print task? also, I tried with the above print service with the following json and it worked for me. { "mapOptions": { "showAttribution": false, "extent": { "xmin": -8279556.363820421, "ymin": 4955018.621996873, "xmax": -8279124.016879315, "ymax": 4955213.89471751, "spatialReference": { "wkid": 102100, "latestWkid": 3857 } }, "spatialReference": { "wkid": 102100, "latestWkid": 3857 }, "scale": 1128.497176 }, "operationalLayers": [{ "url": "http://reports.massivecert.com:8080/geoserver/wms", "title": "MC image", "type": "wms", "version": "1.1", "format": "png8", "transparentBackground": true, "layers": [{ "name": "Postgres:buildings" }, { "name": "Postgres:parcels" }, { "name": "Postgres:nonnfhl_floodplain" }] }], "exportOptions": { "outputSize": [1448, 653], "dpi": 96 } }
... View more
06-13-2018
03:21 PM
|
0
|
10
|
4948
|
|
POST
|
yep, I have noticed that and that is why i'm asking 'did you use the url exactly as it appears in the task request when you added that to your web map?' the url in the task request is basically invalid. all the name-value pairs/parameters showing up after ? in the url are not valid
... View more
06-13-2018
02:03 PM
|
1
|
12
|
4948
|
|
POST
|
my bad! what does the url, that you used to add that wms layer in your web app, look like? does it look like: (a) http://<some domain>.com:8080/geoserver/wms, or (b) http://<some domain>.com:8080/geoserver/wms?&SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=Postgres%3Abuildings%2CPost…
... View more
06-13-2018
01:40 PM
|
0
|
0
|
3133
|
|
POST
|
from your attached json, it looks like the url of the layer basically a GetMap request. can you pls try with http://<some domain>.com:8080/geoserver/wms ?
... View more
06-13-2018
01:26 PM
|
0
|
0
|
4947
|
|
POST
|
Michael, I'm novice when it comes to WAB widgets my understanding is that WAB widgets heavily, if not entirely, relies on JS API functionality - if the version of JS API, that is installed as part of your ArcGIS Enterprise/portal install, is not one of those I have mentioned earlier, then you are out of luck since forceAttributes is not supported in those JS API versions. here is my take: if you are using 10.5.1 or earlier version of ArcGIS Enterprise/portal, then you are all good - all you need to do is to update your arcpy based print service with those optional parameters. if you have already moved to 10.6 ArcGIS Enterprise/portal, then a custom JS API based web app appears to be a viable solution. if you are using WAB off agol, then I need to research to find out what can be done - as you know agol is updated with JS API 3.24 as part of its latest release. Having said that, we are working on making this issue go away, I will update this thread as enhancements are made available as part of new releases. looped in Jianxia Song in case she has additional info to add or I made any erroneous claim(s) here. Thanks. Tanu
... View more
05-31-2018
02:13 PM
|
0
|
0
|
1366
|
|
POST
|
The issue is fixed in the out of the box Utilities\PrintingTools service in 10.6. What's new in ArcGIS Server 10.6—Improved print service here is a sample print service that you can try on: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer if you have custom print services (such as print service with your own templates or arcpy based print service), then you need to re-publish them from ArcGIS Pro 2.1 or above. Tutorial: Publishing additional services for printing—Documentation (10.5) | ArcGIS Enterprise Pls note, if you want to use 10.6's out of the box print service or a print service published from ArcGIS Pro, we strongly recommend to install the follow patch for some performance and durability reasons. ArcGIS Server 10.6 Printing and Script Tool Patch
... View more
05-30-2018
05:32 PM
|
2
|
7
|
5315
|
|
POST
|
Michael, My apologies as I couldn't get back to you earlier. it seems like you ran into this bug BUG-000114154 - Print Widget fails to load/connect ArcPy print service without optional parameters There is a simple workaround though: - while you are creating the arcpy script tool, you need to add the following two optional parameters to match its signature to the out of the box print service's signature Format Layout_Template - the values in that list are not important here - therefore you can get away with only one value for each of these parameters. Apparently the bug in the WAB print widget makes it think the print service is not valid when those two optional parameters are missing. one other thing: I understand you have your WAB app are running on 10.5.1 enterprise environment.That is good. Apparently there was an optimization made in JS API Print task in 3.21 release that strips off all attributes from all layers in the webmap_as_json - and since the popup/report arcpy script relies on these attributes, when they are missing, you won't see attributes showing up in the print output. The issue in JS API Print task got fixed in 3.24 where you can ask to include attributes optionally. Unfortunately 10.6 enterprise does not include 3.24. pls let me know if you have any question. Thanks. Tanu
... View more
05-24-2018
11:01 AM
|
1
|
2
|
1366
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:42 PM | |
| 1 | 05-11-2026 04:59 PM | |
| 1 | 04-16-2026 01:37 PM | |
| 1 | 03-06-2026 04:33 PM | |
| 1 | 03-05-2026 03:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|