| Numéro d’ID de bogue |
BUG-000127170 |
| Envoi | December 5, 2019 |
| Dernière modification | May 8, 2025 |
| S’applique à | No Product Found |
| Version trouvée | N/A |
| Système d’exploitation | N/A |
| Version du système d’exploitation | N/A |
| 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 a known limitation in the classic Map Viewer that uses JavaScript API for ArcGIS 3.x: https://developers.arcgis.com/javascript/3/jsapi/labelclass-amd.html#where (Only very basic SQL is supported)
However, this works in new Map Viewer Beta which is based on JavaScript API for ArcGIS 4.x. In the Item page, click on the arrow next to the 'Open in Map viewer', and click on 'Open in Map Viewer BETA'.
Map Viewer Beta resources:
https://www.esri.com/arcgis-blog/products/arcgis-online/announcements/whats-new-arcgis-online-december-2019/
https://community.esri.com/community/arcgis-online-map-viewer-beta/blog/2019/11/21/learn-more-about-map-viewer-beta
Solution de contournement
- This issue not reproducible in web Map Viewer Beta.
- Remove all special characters and spaces from the attribute table.
- Recreate the symbology.
- Recreate the label classes. Verify that no spaces or special characters are present in the label section in the Create Label Classes from Symbology. Publish this service and the labels load.
Étapes pour reproduire
ID de bogue: BUG-000127170
Logiciel: