laptop and a wrench

Bug

The Print Service fails to update the legend when the rendering of existing layers is being replaced dynamically.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM077308
SubmittedJanuary 23, 2012
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found10.1
Version Fixed10.1
StatusFixed

Workaround

Use an ID for the layer that does not refer to any existing sublayers of the mapservice.For example:{ "operationalLayers": [ { "id": "riverparcels", "title": "buildings", "url": "<a href="http://spritle:6080/arcgis/rest/services/TestGrouping/MapServer" target="_blank">http://spritle:6080/arcgis/rest/services/TestGrouping/MapServer</a>", "visibility": true, "opacity": 1, "layers": [ { "id": 1000, //it was 10 "layerDefinition": { "source": { "type": "mapLayer", "mapLayerId": 6, "version": "" }, "drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSFS", "style": "esriSFSSolid", "color": [ 255, 0, 0, 80 ], "outline": { "type": "esriSLS", "style": "esriSLSSolid", "color": [ 163, 155, 134, 128 ], "width": 2 } }, "label": "", "description": "" } } } } ] } ], "mapOptions": { "extent": { "xmin": -180, "ymin": -90, "xmax": 180, "ymax": 90, "spatialReference": { "wkid": 4326 } } }, "exportOptions": { "dpi": 96, "outputSize": [ 1020, 641 ] }, "layoutOptions": { "titleText": "", "copyrightText": "", "legendOptions": { "operationalLayers": [ { "id": "riverparcels" } ] } }}

Steps to Reproduce

Bug ID: NIM077308

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options