laptop and a wrench

Erro

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

Última Publicação: July 16, 2021 ArcGIS GIS Server
Número de ID do Erro BUG-000138701
EnviadoApril 2, 2021
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS GIS Server
Versão encontrada10.8.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional2019 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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

Solução Provisória

  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

Etapas para Reproduzir

ID do Erro: BUG-000138701

Software:

  • ArcGIS GIS Server

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download