laptop and a wrench

Erro

When creating hosted feature layer views through the ArcGIS API for Python using the create_view() function, the REST URL spaces are encoded differently than when a view is created using the Create View Layer tool in ArcGIS Online.

ArcGIS API for Python
Número de ID do Erro BUG-000163050
EnviadoNovember 17, 2023
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for Python
Versão encontrada2.1.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusAs Designed

Informações Adicionais

Layer views cannot contain spaces in the name. Underscores included in the name are kept. For example, the view can be named, 'US_Points_with_lat_long' and the view is created as expected. If the view name is, 'US Points_with_lat_long', the value contains a space in the name, which causes the issue. To automate the process, use the Python built-in replace function to replace spaces with `_`.

Solução Provisória

Include underscores in the Python code when naming the created view layer.

Etapas para Reproduzir

ID do Erro: BUG-000163050

Software:

  • ArcGIS API for Python

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