laptop and a wrench

漏洞

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.

重现步骤

漏洞 ID: BUG-000174145

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项