Adding attribute indexes to all the sublayers in a hosted feature layer using a ‘for loop’ and the ‘manager.add_to_definition’ methods of ArcGIS API for Python results in a failure.
ArcGIS API for Python
漏洞 ID 编号
BUG-000174145
已提交
February 6, 2025
上次修改时间
June 24, 2025
适用范围
ArcGIS API for Python
找到的版本
2.4
操作系统
Windows Server
操作系统版本
2022
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
Do not provide NAME:' “” ' in the addToDefinition payload while adding an index. Index names should be unique across all layers in the database. Since the index name was repeated in the for loop, it was causing a failure.
解决办法
Do not provide NAME:' “” ' in the addToDefinition payload while adding an index.