laptop and a wrench

Erro

When using Update Layer Definition on a hosted feature layer view with a definition query (filter), the following error is returned, "Invalid definition for 'DefinitionQuery'. Invalid definition for System.String."

Última Publicação: April 23, 2022 ArcGIS Online
Número de ID do Erro BUG-000146872
EnviadoFebruary 15, 2022
Última ModificaçãoOctober 2, 2024
Aplica-se àArcGIS Online
Versão encontrada9.4
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

This is not a bug. When using updateDefinition, select the intended properties to modify, not the full service/layer JSON. Selecting the full service/layer JSON fails as it attempts to modify system level properties on the service that cannot be modified.

Solução Provisória

  1. Remove the filter on the view.
  2. Update the layer definition and make the desired changes.
  3. Reapply the filter. Alternatively, users can keep the filter active, and instead remove it from the layer definition during updating. 

Etapas para Reproduzir

ID do Erro: BUG-000146872

Software:

  • ArcGIS Online

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