laptop and a wrench

不具合

Overwriting hosted feature services from ArcGIS Pro to ArcGIS Online using Python fails to retain the description and credit (attribution) of the hosted feature layer.

ArcGIS Pro
不具合 ID 番号 BUG-000163031
送信されましたNovember 16, 2023
最終更新日February 18, 2025
適用対象ArcGIS Pro
見つかったバージョン3.1.3
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスNon-Reproducible

参考情報

This issue is non-reproducible. If the issue persists, contact Esri Support Services as additional information is needed for further investigation.

対処法

The following code can be used to overwrite the description, which wipes out:

from arcgis.gis import GIS
gis = GIS("https://www.arcgis.com", "<username>", "<password>")

# replace with item id from url of item detail page of feature service to be updated
search_result = gis.content.search("id:id:<itemID>")

# overwrite tags/description/snippet
search_result[0].update(item_properties={'tags':'test','description':'1234','snippet':'4567'})
print('done')

再現の手順

不具合 ID: BUG-000163031

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

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

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

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

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

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

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