Select to view content in your preferred language

Different ownership of a hosted View layer?

570
4
03-06-2024 07:33 AM
Levon_H
Occasional Contributor

Hi folks,

We would like to lock down the View layer of a Feature Layer while allowing the customer full control of the original layer for editing purposes.  

Example:  Jim (customer) owns the "Roads" Feature Layer, ownership is private.  GIS Admin owns the "Roads view" layer, ownership is public.  That way Jim can make edits to his layer as he pleases.  This would update the View layer which is public and uneditable without us having to republish every time.  

Another way to put it:  Is there a way that Jim can make edits to his Roads layer without us having to Overwrite or republish his layer to an "Admin" or "non-editable" layer every time Jim makes a edit/update?  

Simple problem, confusing to express.  

Thanks!

0 Kudos
4 Replies
MikeMinami
Esri Notable Contributor

A view layer and its source feature layer can only be owned by the same member. Jim can create a view layer from his hosted layer and share that view layer publicly. As long as editing is disabled on the view layer, nobody will be able to edit. Yet, Jim is free to edit the source feature layer. No republishing is required and the view layer will reflect any edits made to the source feature layer.

0 Kudos
Levon_H
Occasional Contributor

Thank you, Mike, for the reply.

Yes, that's all understood.  However, Jim is not part of the GIS Admin group so he cannot own the public view layer.  That layer needs to be owned by GIS Admin.  Yet, GIS Admin does not do the editing/updating on Jim's data, Jim does.  

We can write a script to update the GIS Admin layer from Jim's data (AGOL or otherwise).  We currently have plenty of those in flight.  A seamless solution like a view would be great.  Wishful thinking, it appears.

0 Kudos
MikeMinami
Esri Notable Contributor

How about this? Have the GIS Admin own the hosted feature layer and the view layer. Enable editing on the hosted feature layer and share it to a group that Jim is a member of. Jim, or any other member of the group, would be able to edit the layer. The view layer would not be editable and can be shared publicly.

If Jim needs to control the layer, for instance, modify item descriptions or configure editing, you might explore using a 'shared update' group (https://doc.arcgis.com/en/arcgis-online/share-maps/create-groups.htm#ESRI_SECTION1_12B3CD7ADAF843DB9...). An admin can create this group. Items in the group can be managed by all group members. This is the closest AGOL gets to shared ownership of items.

Levon_H
Occasional Contributor

Thanks again, Mike.  Yes, we have that set up in a different environment and may explore those options here.  

0 Kudos