The Add Data widget enables you to add data to the map by searching for layers from a group in ArcGIS Online or Portal for ArcGIS, entering URLs, or uploading local files. In this way, you can temporarily add layers to and remove layers from the map. However, you can't save the layers to the map.
...