Esri / arcgis-experience-builder-sdk-resources

ArcGIS Experience Builder samples
https://developers.arcgis.com/experience-builder/
Apache License 2.0
125 stars 115 forks source link

Query property not adequate for data sources that come from an array #133

Open thomfuhrmann opened 1 year ago

thomfuhrmann commented 1 year ago

https://github.com/Esri/arcgis-experience-builder-sdk-resources/blob/a5b9722b952528bbad0a2e4f2a2ab0c2b525888b/widgets/statistic-client-side-output/src/runtime/widget.tsx#L175

The query property should be used for AGOL/portal items or remote databases, not for data sources from arrays. Query calls the load method which is not the right method for data sources that have an array as a source.