laptop and a wrench

Erro

When running a script web tool with the SetParameter output set to the scratch folder with a PNG file type, the output string does not return correctly.

Portal for ArcGIS
Número de ID do Erro BUG-000163724
EnviadoDecember 14, 2023
Última ModificaçãoOctober 4, 2024
Aplica-se àPortal for ArcGIS
Versão encontrada11.2
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusAs Designed

Informações Adicionais

When viewing raster results in ArcGIS Pro for the GPRasterDataLayer output parameter type, the only supported format is a TIF file, regardless of the format specified for the tool execution. ArcGIS Pro will try to download that TIF into the ArcGIS Pro's temp directory, which may vary from machine to machine and who is running the Pro. That is why the AppData directory is seen. This has nothing to do with when the TIF file for the GPRasterDataLayer will be in the server's output or jobs directory for sync and async gp services. To show such a result file generated by the server, ArcGIS Pro must download such a file. When it comes to the GPString output parameter, %scratchFolder%, which is an inline variable substitution, will get resolved at runtime only when it applies. For example, if you randomly attach some invalid name to %scratchFolder%, then it will show the string as-is. It only translates the scratch folder into the actual path when the whole path specified actually exists. Keep an eye on a new feature for ArcGIS Enterprise 11.4 where the result raster can be viewed as an image service.

Etapas para Reproduzir

ID do Erro: BUG-000163724

Software:

  • Portal for ArcGIS

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