Skip To Content

Use hosted web layers

In this topic

You publish features, tiles, and scenes to be hosted on Portal for ArcGIS so you can share them with others. Once shared, those with access can use your hosted layers in maps in the portal website. Developers can also include the URL to your hosted layers in web and desktop apps they build. Others may use your hosted web layers in ArcGIS for Desktop to enhance their map or perform analyses.

If you allow it, the people you've shared your hosted features with can export the data from your layer to a CSV or shapefile.

Find URLs

To view the hosted layers you have published and discover their URLs for use in web apps, sign in to your organization and click My Content. This page shows a table listing all the maps, apps, features, and tiles you have added.

The Type column in the table lists the type of item shared. Your hosted features are listed as Feature Layer, hosted tiles are listed as Tile Layer, and hosted scenes are listed as Scene Layer .

Corresponding to your tiles, you'll also see items of type Service Definition. A service definition is a zipped file containing the map, its data, and details about how the tiles should be published.

Click any item of type Feature Layer, Tile Layer, or Scene Layer to be taken to a page with the item's description and URL. You can copy the URL and use it in your code when you create an app with the ArcGIS Web or mobile APIs. Alternatively, you can click Open to view the map in the map viewer. Use the map viewer to build a map that you can save and reuse later in a web app.

Use hosted web layers in ArcMap

You can use the features and tiles hosted on your portal in ArcMap. To do so, you must first connect ArcGIS for Desktop to your portal. See Use ArcMap with your portal for instructions.

Once you have connected to your portal, open the Catalog window in ArcMap and double-click My Hosted Services. If you haven't yet logged in to the portal website, you are prompted to do so. You can then see the list of services available to drag and drop into the ArcMap table of contents.

Use hosted web layers in ArcGIS Pro

You can use the features, tiles, and scenes hosted on your portal in ArcGIS Pro. To do so, click Online in the Project pane of your ArcGIS Pro project. You can add layers from My Content, groups to which you belong, or search for publicly available layers. Choose the layer you want to add and drag it onto your map or scene.

You must be signed in to your organization to access hosted layers from the Project pane.

Export data from hosted feature layers

You can export CSV files, shapefiles, or a file geodatabase from any layer in a hosted feature layer if one of the following is true:

  • You own the features.
  • You are a portal administrator.
  • You aren't the hosted feature layer owner or the administrator, but the owner or administrator has configured the hosted feature layer to allow others to export the data.

    This setting can be changed by clicking Edit on the hosted feature layer's item details page in the website and clicking Allow others to export to different formats under the Properties list.

Only nonspatial attributes are exported to a CSV file when you export a line or polygon layer from a hosted feature layer. When you export a point layer to a CSV file, latitude and longitude values for the points are exported.

All exported items are stored in the root folder of My Content.

Follow these steps to export from a hosted feature layer:

  1. Sign in and open the item details for the features you want to export.
    • If you own the features, click My Content and click the item title.
    • If you do not own the features, search for the layer, and click the feature layer name in the search results list.
  2. If you want to export individual layers, find the Layers section of the item details page, click the small arrow icon next to the layer you want to export, and choose the format you want to export. If you want to export all the layers in the hosted feature layer, click Export, and choose the format you want to export.

    • Export to Shapefile creates a compressed file (.zip) containing a shapefile for each layer of your content that you export. You can download the file and save it to your computer.
    • Export to CSV file creates a comma-separated value file when you export from a layer. You can open the file or save it to your computer. If you export all layers to CSV, a CSV Collection is created, which is a .zip file containing one CSV file per layer. You can download the .zip file and save it to your computer.
    • Export to FGDB creates a .zip file containing a file geodatabase. The file geodatabase contains a feature class. You can download the .zip file and save it to your computer. Note that the .zip file uses the name you specify for the Title, but the geodatabase name is randomly generated, and the feature class has the same name as the layer you exported.

      Note:

      If your portal does not use ArcGIS Data Store, only the hosted feature layer owner or portal administrator can export to a file geodatabase.