laptop and a wrench

Error

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

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM077308
EnviadoJanuary 23, 2012
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada10.1
Versión corregida10.1
EstadoFixed

Solución alternativa

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" } ] } }}

Pasos para reproducir

ID del error: NIM077308

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga