laptop and a wrench

不具合

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.

最後に公開された状態: July 23, 2020 ArcGIS Online
不具合 ID 番号 BUG-000131640
送信されましたJune 16, 2020
最終更新日February 7, 2025
適用対象ArcGIS Online
見つかったバージョン8.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

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

対処法

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

再現の手順

不具合 ID: BUG-000131640

ソフトウェア:

  • ArcGIS Online

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動