laptop and a wrench

Error

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

Última publicación: July 16, 2021 ArcGIS GIS Server
Número de ID del error BUG-000138701
EnviadoApril 2, 2021
Última modificaciónJune 5, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.8.1
Sistema operativoWindows OS
Versión de sistema operativo2019 64 Bit
EstadoWill Not Be Addressed

Información adicional

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

Solución alternativa

  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

Pasos para reproducir

ID del error: BUG-000138701

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga