I am new to writing java script from scratch so bear with me. I am trying to have a button in my Web App Builder dev edtion custom widget, open and link to the existing "Add Data" widget that is provided out of the box by ESRI. I have this code in my HMTL:
<button class="action-button esri-icon-add-attachment" id="btnUpload"
type="button" title="Upload Muliple data points!"></button>
That i would like then behave as opening up the ADD Data widget so that i can have the built in workflow of mapping and adding my data from a csv file to my application and in built map.
If not link to this existing widget, that is the functionality i am going for at least. Just looking to have the ability to upload a CSV file in my widget and add its contents to my application map and added to the existing array of points. Any help in this is appreciated.
I have looked at this blog post (https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder-open-in-panel-w...) but wasn't able to figure out how to coform that to the Add Data widget specifically in my html or js.