I can use a feature layer at runtime to perform queries on it using the sample from the add-layers-to-a-map widget.
However, as a training tool I was wondering how to do the same by defining the datasource and use the dataSourceComponent at runtime and skip the use of the settings component.
Thanks.
@LefterisKoumis Please see the sample widget, https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/1.18/widgets/data-source-widget... .