PROBLEM

Changing the sharing level of web maps with feature layers from a published geodatabase changes the sharing level of the file geodatabase

Last Published: December 9, 2022

Description

When changing the sharing level of web maps with a feature layer from a file geodatabase published as a hosted feature service, the sharing level of the file geodatabase is changed as well.

The image below shows the initial sharing level (Owner) of an example file geodatabase published as a hosted feature service (Sydney Parking_gdb), and a web map (25050_test) created with a feature layer from the file geodatabase .

The initial sharing level of the hosted feature layer and the created web map.

The image below shows the ‘Update sharing’ window when attempting to change the sharing level of the web map containing a feature layer from the file geodatabase. The message in the ‘Update sharing’ window references the entire file geodatabase rather than the individual feature layer included in the web map.

The ‘Update sharing’ window when attempting to change the sharing level of the web map containing a feature layer from the file geodatabase.

The image below shows the sharing level (Public) of the file geodatabase and the web map is similar after updating the sharing level of the web map.

The sharing level of the file geodatabase and web map after updating the sharing level of the web map.

Cause

This is expected behavior. When a zipped file geodatabase is uploaded and published to ArcGIS Online, the geodatabase is hosted as a hosted feature service, and each feature layer in the file geodatabase becomes a sublayer in the hosted feature service. Sharing occurs at the item level and a hosted feature service is an item. The split-sharing functionality is not available for individual sublayers in an item.

Solution or Workaround

To resolve the issue, export or share the individual feature layer using one of the methods below.

Export and publish the desired sublayers individually from the published file geodatabase

Note:
Ensure the zipped file geodatabase is uploaded and published in ArcGIS Pro.
  1. Log in to ArcGIS Online. Click Content > My Content.
  2. Browse to the hosted feature layer, click More Options, and select View item details.
The image of the 'More options' icon being selected to open the Overview page.
  1. On the Overview page, click the required sublayer under Layers.
  2. Click Export Data and select Export to FGDB. Edit the title in the Export to File Geodatabase window. Click Export.
  3. Click Publish on the newly created file geodatabase.
The image of the Publish button being selected to publish the newly created file geodatabase.
  1. Repeat Steps 3 to 5 to publish other sublayers individually.
  2. Add the new feature layers to the existing web map and change the sharing level as needed.

Share layers as web layers from ArcGIS Pro

  1. In ArcGIS Pro, in the Contents pane, right-click the feature layer. Click Sharing > Share As Web Layer.
The image of the feature layer in ArcGIS Pro is being shared as a web layer.
  1. In the Share As Web Layer pane, fill in the details under General and publish the layer. Repeat Steps 1 to 2 to publish other layers individually.
  2. In ArcGIS Online, open the existing web map and add the new feature layers to the web map. Change the sharing level as needed.

Article ID:000025050

Software:
  • ArcGIS Online
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options