laptop and a wrench

Bug

Fails to query on the sublayer annotation level in a map service in ArcGIS for Server 10.4.1.

Zuletzt veröffentlicht: July 20, 2016 ArcGIS for Server
Bug-ID-Nummer BUG-000097806
EingereichtJuly 15, 2016
Zuletzt geändertFebruary 20, 2025
Gilt fürArcGIS for Server
Gefunden in Version10.4
BetriebssystemWindows OS
StatusKnown Limit

Zusätzliche Informationen

This is as designed. Queries for annotation sublayers are not supported. The sub layers for annotation are there only to turn the visibility on or off when exporting the map. This is also true in desktop where we don’t allow users to open the table for a anno sub layer. If querying the f=json response for the capabilities enabled on the annotation sublayer, like the following request would: https://server.domain/arcgis/rest/services/Maps/ANNOTATION/MapServer/1?f=pjson You would see the capabilities like so: Capabilities: "Map,Query" query is only supported when the capabilities include Data. Like so: capabilities: "Map,Query,Data"

Workaround

Query the map service's annotation layer instead of the annotation sublayer to return records.

Schritte zur Reproduzierung

Bug-ID: BUG-000097806

Software:

  • ArcGIS for Server

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln