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.