laptop and a wrench

Bug

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

Zuletzt veröffentlicht: July 16, 2021 ArcGIS GIS Server
Bug-ID-Nummer BUG-000138701
EingereichtApril 2, 2021
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS GIS Server
Gefunden in Version10.8.1
BetriebssystemWindows OS
Betriebssystemversion2019 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Workaround

  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

Schritte zur Reproduzierung

Bug-ID: BUG-000138701

Software:

  • ArcGIS GIS Server

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln