laptop and a wrench

不具合

The GPDataFile data type is converted to GPString when publishing a geoprocessing tool to ArcGIS Server.

最後に公開された状態: July 16, 2021 ArcGIS GIS Server
不具合 ID 番号 BUG-000138701
送信されましたApril 2, 2021
最終更新日June 5, 2024
適用対象ArcGIS GIS Server
見つかったバージョン10.8.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン2019 64 Bit
ステータスWill Not Be Addressed

参考情報

GPDataFile is out of date and using File or DEFile should be used instead.

対処法

  1. In ArcGIS Pro, open the edit window for the script.
  2. Change the output data type from GPDataFile to File.
  3. Save the script.
  4. Run the tool in ArcGIS Pro and publish the result as a new web tool.
  5. Notice when the data type is set to file in the source script, the Geoprocessing Service lists the output data type as GPDataFile.

File is not listed as a data type parameter for geoprocessing tools according to this documentation: https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/defining-parameter-data-types-in-a-python-toolbox.htm

再現の手順

不具合 ID: BUG-000138701

ソフトウェア:

  • ArcGIS GIS Server

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

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

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

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

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

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

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