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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動