Numéro d’ID de bogue |
BUG-000097806 |
Envoi | July 15, 2016 |
Dernière modification | September 18, 2025 |
S’applique à | ArcGIS for Server |
Version trouvée | 10.4 |
Système d’exploitation | Windows OS |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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"
Solution de contournement
Query the map service's annotation layer instead of the annotation sublayer to return records.
Étapes pour reproduire
ID de bogue: BUG-000097806
Logiciel: