Label classes created from symbology in ArcGIS Pro fail to display in ArcGIS Online if the label class name upon creation has a special character or space in it.
最後に公開された状態: December 18, 2019No Product Found
不具合 ID 番号
BUG-000127170
送信されました
December 5, 2019
最終更新日
May 8, 2025
適用対象
No Product Found
見つかったバージョン
N/A
オペレーティング システム
N/A
オペレーティング システムのバージョン
N/A
ステータス
Known Limit
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
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
対処法
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.