PROBLEM
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 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 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.
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.
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.
Share layers as web layers from ArcGIS Pro
Get help from ArcGIS experts
Download the Esri Support App