laptop and a wrench

Bogue

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

Dernière publication: July 16, 2021 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000138701
EnvoiApril 2, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.8.1
Système d’exploitationWindows OS
Version du système d’exploitation2019 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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

Solution de contournement

  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

Étapes pour reproduire

ID de bogue: BUG-000138701

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement