laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: July 23, 2020 ArcGIS Online
Bug-ID-Nummer BUG-000131640
EingereichtJune 16, 2020
Zuletzt geändertFebruary 7, 2025
Gilt fürArcGIS Online
Gefunden in Version8.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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

Workaround

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).

Schritte zur Reproduzierung

Bug-ID: BUG-000131640

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln