Add Data Widget

The Add Data widget enables end users to add data to the map by searching for layers in ArcGIS Online or Portal for ArcGIS content, entering URLs, or uploading local files including shapefiles, CSV, GPX, and GeoJSON. In this way, end users can temporarily add layers to the map and remove them from the map. However, they cannot save them to the map.

Using the Add Data widget

  1. On the Search tab, choose the scope you want to search and click Add on a specific item to add the layer to the map. The added layer will appears in the Layer List widget as well. Click Remove to remove the layer from the map and the Layer List widget. Click Details to get information about the layer.

    Caution:
    If the app is shared publicly, do not enable Allow My Organzation or Allow My Content as the search will only execute against the public items.
     
  2. Optionally, click the magnifying glass icon to search for layers.
  3. Click the icon  to only search layers within the map area. Clicking it turns the icon red so you can search all layers in the scope.
  4. Click the sort icon  to refine the type of search layer and sort the items.
  5. Click the Type drop-down list to search layers based on map service, feature service, image service, vector tile service, KML, or WMS.
  6. Click the Sort By drop-down list to sort items by relevance, title, owner, rating, view, or date.
  7. To add layers by URL, click the URL tab next to the Search tab. Choose a type and enter the URL. Click Add to add the data to the map. The added layer will appear in the Layer List widget as well. The following types are supported through the URL:
    1. ArcGIS Server web service
    2. WMS OGC web service
    3. KML
    4. GeoRSS
    5. CSV

Note:

For more information on CSV files, see CSV format information.

  1. Click Sample URL(s) to see the URL format for each type.
  2. Click the File tab to upload files locally. You can either drag and drop the file or browse to it. It supports shapefiles in Zip format, and CSV, GPX and GeoJSON files.
  3. To remove the layers added in step 5 and 7, click LAYERS in the lower right corner of the widget. In the Layers panel, click the trash can icon next to the layer to remove it.
  4. Click BACK in the lower right corner to return to the main panel.