laptop and a wrench

Erro

Publishing or overwriting the web tool to ArcGIS Enterprise does not include the choicelists parameter when published using the Python (arcpy.sharing) script.

Portal for ArcGIS
Número de ID do Erro BUG-000157936
EnviadoApril 28, 2023
Última ModificaçãoMarch 12, 2024
Aplica-se àPortal for ArcGIS
Versão encontradaN/A
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
StatusIn Product Plan

Informações Adicionais

This is as designed. The sddraft.choiceLists property is not used to set up a choice list for a string data type input. For the string type input parameter, the correct way to display the choice list is to add the values to the value list values in the script tool. Publish it with a Python script without using the sddraft.choiceLists property to get the choice list in the published web tool. The sddraft.choiceLists property of the GeoprocessingSharingDraft class is actually for the layer input data type, which becomes a string when running in the script. For more information, refer to https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/geoprocessingsharingdraft-class.htm in the 'Overwrite a web tool to ArcGIS Enterprise' section. This issue is to be exported, and the explanation of the sddraft.choicelists property in the help documentation is to be improved.

Etapas para Reproduzir

ID do Erro: BUG-000157936

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