laptop and a wrench

Erro

New fields added to a hosted feature layer are not visible in a hosted view layer after a top filter ('topFilter' parameter) is applied to the service definition of the view layer.

Última Publicação: July 23, 2020 ArcGIS Online
Número de ID do Erro BUG-000131640
EnviadoJune 16, 2020
Última ModificaçãoFebruary 7, 2025
Aplica-se àArcGIS Online
Versão encontrada8.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

This issue will not be addressed in the current release cycle. If this issue persists, contact Esri Support Services.

Solução Provisória

The issue is not reproducible if a top filter is never applied to the view layer (newly added fields must first be updated in the definition of the hosted feature layer view per https://support.esri.com/en/Technical-Article/000017596).

Workaround per Development after adding the new fields to the hosted feature layer:

1) Copy existing layer definition. It will be like:

 {

 "layers" : [

 {

  "adminLayerInfo" : {

  "geometryField" : {"name" : "SHAPE"}, 

  "xssTrustedFields" : "", 

  "viewLayerDefinition" : {

   "table" : 

  {

  "name" : "TopFilterIssue1_0", 

   "sourceServiceName" : "TopFilterIssue1", 

   "sourceLayerId" : 0, 

   "topFilter" : {

   "orderByFields" : "CreationDate DESC", 

   "groupByFields" : "Creator", 

   "topCount" : 1

   }, 

    "sourceLayerFields" : [], 

    "materialized" : false

   }

  }

 }, 

 "id" : 1, 

 "name" : "Point_layer2" 

}

]

 

2) Go to the feature service admin API and delete existing view layer from the service definition (e.g. ..../ArcGIS/rest/admin/services/TopFilterIssue1_view3/FeatureServer/deleteFromDefinition):

{"layers" : [{"id" : 0}]}

 

3) Go back to the feature service admin API and add the layer again (e.g. .../ArcGIS/rest/admin/services/TopFilterIssue1_view3/FeatureServer/addToDefinition) using the JSON in step (1).

Etapas para Reproduzir

ID do Erro: BUG-000131640

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