laptop and a wrench

不具合

Publishing or overwriting the web tool to ArcGIS Enterprise does not include the choicelists parameter when published using the Python (arcpy.sharing) script.

Portal for ArcGIS
不具合 ID 番号 BUG-000157936
送信されましたApril 28, 2023
最終更新日March 12, 2024
適用対象Portal for ArcGIS
見つかったバージョンN/A
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスIn Product Plan

参考情報

This is as designed. The sddraft.choiceLists property is not used to set up a choice list for a string data type input. For the string type input parameter, the correct way to display the choice list is to add the values to the value list values in the script tool. Publish it with a Python script without using the sddraft.choiceLists property to get the choice list in the published web tool. The sddraft.choiceLists property of the GeoprocessingSharingDraft class is actually for the layer input data type, which becomes a string when running in the script. For more information, refer to https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/geoprocessingsharingdraft-class.htm in the 'Overwrite a web tool to ArcGIS Enterprise' section. This issue is to be exported, and the explanation of the sddraft.choicelists property in the help documentation is to be improved.

再現の手順

不具合 ID: BUG-000157936

ソフトウェア:

  • Portal for ArcGIS

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

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

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

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

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

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

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