laptop and a wrench

漏洞

When using the Python API to assign portal item categories using the update or Bulk_update methods, the new category values are added to the Portal item and the portal items definition. However, the items are not picked up when searching or filtering layers by categories in Map Viewer.

ArcGIS API for Python
漏洞 ID 编号 BUG-000155590
已提交February 3, 2023
上次修改时间December 10, 2024
适用范围ArcGIS API for Python
找到的版本2.0.1
操作系统Windows OS
操作系统版本10.0
状态As Designed

附加信息

This is expected behavior. The filter list should come from the category schema set in the organization properties not an individual items category value.

解决办法

Use the gis.admin.category_schema method with to create a category schema object and use the categorize_item method to implement category assignment procedure on each individual item.

This works on the portal item page UI and when searching for the item via a category filter in Map Viewer.

重现步骤

漏洞 ID: BUG-000155590

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项