Allow Map Image Services and Feature Services published on a federated server to be shared independently

04-21-2022 04:18 PM
Status: Open
New Contributor II

When you publish a service from an unfederated server as a hosted layer, feature access for the Map service and Feature service can be imported into the Portal separately by using the "Add Content from URL" option. The Portal items created in this manner can be shared independently of one another. For an example, the Map service can be shared with "Organization" and the Feature service can be shared with certain authorized groups for editing. This allows for one service to be used for viewing and editing purposes.


Federation causes this to go out the window.  Portal items are automatically created when a service is published to a federated server as a Map Image service and Feature service, but their sharing cannot be set independently. The sharing of these services must match that of the Map Image service.  If you want one group of users to view only and another to be able to edit the features, you must publish the same service twice (or more, if you have sub-groups needing to edit certain data) and set each service respectfully.


Publishing one service for each group access level for editing can introduce a tremendous strain on resources through additional ArcSOCs hoarding RAM and publishing one editable service introduces a lot of data integrity issues due to allowing anyone edit capability. If it is possible to separate the sharing levels of Features from the Map Image service, the documentation should be updated to reflect it in the note section here:

Or the ability to provide view/group authorized edits on the single service needs to happen.

1 Comment

I am 1000% behind this idea.  

But if it cannot be implemented yet, at a minimum, adjust the Portal UI to reflect correct sharing parity between the two services.  

Currently in Portal you can share a Feature Service and Map Service independently via the UI (e.g. FeatureService shared with a group for editing, MapService shared with everyone for viewing).  HOWEVER, the FeatureService actually inherits the sharing of the MapService in the REST endpoints - which makes whatever the Portal UI displays misleading.  

It would make sense if the Portal somehow updated the sharing icon of the associated Feature Layer in the UI if you changed the sharing of the Map Image Layer.  Right now in the UI, it looks as if the Map Image Layer is shared anonymously and the Feature Layer is shared with no one, but it is not actually the case when traversing the REST endpoints.