In the Portal Viewer, we can add data from portal, from url, or from local file.
In WAB developper edition, there is a widget called "addData" : https://developers.arcgis.com/web-appbuilder/guide/widget-add-data.htm
I don't find a way to do the same in API 4.12. Is there a way to do that ?
Thanks