Select to view content in your preferred language

Print Task fails with default Selected Point Graphic

3221
5
01-07-2014 12:52 PM
DaveTimmins
Deactivated User
Hi,

if you have a point feature selected then the print task fails. Since it's a default graphic I would expect it to work. The print task returns the following failure

{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool.: Layer \"map_graphics\": ??\nERROR: code:400, , Invalid URL, Bad syntax in request.\nFailed to execute (Export Web Map).\nFailed to execute (Export Web Map Task)."]}}


and I've attached the graphic.

Can this please be fixed?

Cheers,
0 Kudos
5 Replies
JonathanUihlein
Esri Regular Contributor
Hey Dave,

Can you recreate the issue using http://jsfiddle.net/ ?

I'd love to see if this is a valid bug. Thanks!
0 Kudos
DaveTimmins
Deactivated User
Sure, I adapted one of the esri print samples http://jsfiddle.net/3Jj8P/

Click print and it will work, click on a city such as Baton Rouge so that it is highl;ighted then click print and it will fail.

Cheers,
0 Kudos
JianHuang
Deactivated User
The default selection symbol is a very special one, which is not supported by print service. We will change it to SVG symbol in the future release. By now, you can unselect it before printing. If you still want to highlight that point in your printout, you can add another graphic with a different symbol on top of the graphic.
0 Kudos
ChrisSmith7
Honored Contributor

This appears to still be an issue with API v3.20, after obtaining results from the Search widget (e.g., geocoding an address).

0 Kudos
ChrisSmith7
Honored Contributor
0 Kudos