laptop and a wrench

不具合

Data expression FeatureSet created by GroupBy and combineDict does not display all the data returned.

最後に公開された状態: October 1, 2022 ArcGIS Dashboards
不具合 ID 番号 BUG-000151651
送信されましたAugust 18, 2022
最終更新日February 14, 2025
適用対象ArcGIS Dashboards
見つかったバージョン10.9.1
オペレーティング システムN/A
オペレーティング システムのバージョンN/A
ステータスWill Not Be Addressed

参考情報

Change the field type from "esriFieldTypeOID" to "esriFieldTypeInteger" in the code. Adding another field to capture the ObjectIDs is preferred as the Data Table UI that appears at configure time under the Indicator's design time preview displays the field "OID". Refer to the following code for detailed configuration: var portal = Portal('https://www.arcgis.com/'); var wspoints = GroupBy( FeatureSetByPortalItem(portal,'f8d540e3e1ec47fdbefe23a44a9fdcb0', 0, ['*'], true), ['type1', 'type2'],[ {name: 'pt_project_count', expression: 'OBJECTID', statistic: 'COUNT'}, ] ); var wspolygons = GroupBy( FeatureSetByPortalItem(portal,'689c71bcf53c4da49f014292609181d2',0, ['*'], true), ['type1_ply', 'type2_ply'], [ {name: 'ply_project_count', expression: 'OBJECTID', statistic: 'COUNT'}, ] ); var combinedDict = { fields: [ {name: 'project_count', type: 'esriFieldTypeInteger'}, {name: 'OID', type:'esriFieldTypeOID'} ], geometryType: '', features: [], }; var i = 0; for (var p in wspolygons) { combinedDict.features[i] = { attributes: { project_count: Sum(p['ply_project_count']), OID: i}, }; i++; } for (var m in wspoints) { combinedDict.features[i] = { attributes: { project_count: Sum(m['pt_project_count']), OID: i}, }; i++; } console(count(combinedDict.features)); console(combinedDict); return (FeatureSet(Text(combinedDict)));

再現の手順

不具合 ID: BUG-000151651

ソフトウェア:

  • ArcGIS Dashboards

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

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

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

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

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

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

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