Select to view content in your preferred language

control editing in web app

577
1
10-17-2023 07:39 AM
CrystallSalmon
Occasional Contributor

Is there a way to use the same app for public facing view and make it uneditable while having an organization view that is editable? 

1 Reply
EmilyGeo
Esri Regular Contributor

Hi @CrystallSalmon

Editing is generally controlled at the layer level. Sharing an editable layer publicly will allow anyone to edit it. Since you only want people in the organization to edit the layer, sharing it publicly is not advised.

One best practice for the workflow you brought up is to have 2 versions of the layer: one that is editable by the organization and one that is viewable by the public. You can achieve this using Hosted Feature Layer Views. 

For example, you could have:

  1. an editable hosted feature service, shared at the organization level, in one app and
  2. a non-editable view of that service, shared with the public, in another app

See this article for more on creating hosted feature layer views: https://doc.arcgis.com/en/arcgis-online/manage-data/create-hosted-views.htm 

0 Kudos