ArcGIS for Silverlight Print Task / Export Web Map Task

3691
6
03-17-2015 01:43 PM
TonyDaSilva
New Contributor II

When I try to use this Export Web Map Task in ArcGIS Server from a Silver-light Application the Server throws this error when a Feature Service is included...

Error executing tool.: Layer "Site Locations": Missing 'symbol' in simple renderer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).

The service contains a very simple symbol. Am I missing something?

0 Kudos
6 Replies
DominiqueBroux
Esri Frequent Contributor

Some symbols (such as TextSymbol) are not supported by the print service. What is the type of your feature layer symbol?

0 Kudos
TonyDaSilva
New Contributor II

Its just a very basic diamond found under the ESRI Default Marker - Character Marker Symbol

0 Kudos
TonyDaSilva
New Contributor II

Also, the legend symbols don't render properly either for some reason.

Map symbol

Legend Symbol

0 Kudos
DominiqueBroux
Esri Frequent Contributor

Could you share a code snippet allowing to reproduce the legend issue?

Thanks

0 Kudos
TonyDaSilva
New Contributor II

In Silverlight, I'm doing this to submit the print job

            var mapOptions = new MapOptions(mainMap); // mainMap is the ESRI Map object with some dynamic services and a feature service.

            mapOptions.OutSpatialReference = new SpatialReference(26911);

           

            var printParameters = new PrintParameters(mainMap)

            {

                MapOptions = mapOptions,

                LayoutTemplate = "Tabloid",

                Format = "PDF"

            };

            printParameters.ExportOptions = new ExportOptions() {Dpi = 300};

            printTask.SubmitJobAsync(printParameters);

       

This is going to the built in Export to Web Map service in ArcGIS 10.3.

0 Kudos
VikasTrivedi1
New Contributor

Hi Tony, did you got the resolution for this issue I am having similar problem. 80% of my symbols in the map document comes and remaining gives Junk character on export.

0 Kudos