Select to view content in your preferred language

Restrict editing to related record only; not allow adding new features to parent layer?

7970
22
04-15-2022 10:02 AM
Caitlin_Todd_LCOR
Frequent Contributor

Hello all, 

I'm hoping this functionality is available in ArcGIS FieldMaps and I'm just missing where to configure it.

I have a 1:M feature layer between Sites and Inspections. I'm developing a map for field crews to go out and add new inspection records to sites. BUT, I cannot allow them to add/delete/update locations of sites. 

I tried restricting editing to only allow for attribute updates, but that also removes the ability to add new related records in the inspection table.

Is this workflow possible in ArcGIS FieldMaps right now? Is it on the roadmap sometime in the near future?

Thanks!

Caitlin

22 Replies
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

So there might be a few things that can be tested.

  1. Create a hosted view that is updated in field maps but has a filter set in the map to only display certain values. This should restrict the editing of the related record
  2. You can simply filter out the table values so that they are only visible in Survey123 but not in field maps
  3. Append a value to the related table such as a text field with attributes stating "survey" and have it so that it does not display in field maps when you set the visibility fields to look for fields that don't have that value.

 

0 Kudos
SarahSaint-Ruth
Esri Contributor

Hi everyone,

There is a setting in the Map Viewer under Properties where you can disable editing per layer. If you select the parent layer, open the Properties there is a toggle to disable editing. To speed up editing in Field Maps I'd also recommend using the Related Record popup element on the parent feature:

SarahSaintRuth_0-1764949268027.png

Doc for ArcGIS Online 
Doc for ArcGIS Enterprise

Can I confirm whether the settings at the map level satisfy the requirements you have?

HeatherBell
Frequent Contributor

Hi Sarah, I have tested our layer and this does work as expected and replaces what was previously possible in map viewer classic. Thank you for pointing it out.

1. We would also like to constrain the editing capabilities in this way but through the layer settings, not just in the map. Otherwise, we may find that some of our users open up the layer in their own webmaps and are able to edit the parent layer that way.
2. It would be useful to be able to constrain the editing to happen only through apps that are configured such as Fieldmaps in order to ensure that the data is consistent and uses calculations that are set in the form for example. 

Thank you very much, 

GIS Analyst @ The Rivers Trust
0 Kudos