Select to view content in your preferred language

Edit attributes and related table of a featurelayer while not allowing to edit the geometry

7241
13
10-07-2015 04:50 AM
simoxu
by MVP Regular Contributor
MVP Regular Contributor

I wan to edit attributes and related tables of a feature layer, but I don't want my field crew to mess up the geometry of the layer. but here is the dilemma:

If I choose the host feature layer option "update the attributes only", in Collector I can only view the related table records, I can't add.

If I allow "add, delete and update..." on my feature layer, and disable editing for the layer in the web map, the users can't edit the attributes in the feature in the layer, although they can add and edit the records in the related tables

If I allow "add, delete and update..." on my feature layer, and enable editing for the layer in the web map, everything looks good except I can't prevent the users from adding and deleting the features which I really don't wan't them to mess up.

I could manipulate the data and make all the editable contents in the related tables, but I want to symbolize the features using the data collected and using Operational Dashboard, these are not possible with related tables at the moment.

I know we need to be realistic and the desired functions need to compromise with the  platform ability. but I want to know if I am alone for this kind of requirement, whether or not it will be good to have more control than only "enable/disable editing" for the feature layer in the webmap?

Any comments are welcome. thanks.

13 Replies
by Anonymous User
Not applicable

I'd like to see this in future versions too.....................

0 Kudos
simoxu
by MVP Regular Contributor
MVP Regular Contributor

What's new—ArcGIS Online Help | ArcGIS (December 2017)    

  • Two new editing configuration options are available for hosted feature layers and hosted feature layer views, giving you more fine-grained control over what operations editors can perform.

This raised my hope, but it is proved not helpful for this particular situation.

Surely many users will need this feature to symbolize the assessed objects to show the progress in the field... 

Arcade expression is a new hope, but it can't extract the related data, just not yet.

0 Kudos
simoxu
by MVP Regular Contributor
MVP Regular Contributor

This function is still not there as of today. So it's never too late to create a new ArcGIS Idea, please vote it up if it makes sense to you.

https://community.esri.com/ideas/15486 

0 Kudos
HugoBouckaert1
Occasional Contributor

Hi 

I also have this problem: I would like to allow full editing on the related table, but the geometries of the feature class the table is related to, to be left untouched. I tried to set "allowGeometryUpdates": false, but this also relegates the related tables to updates only (no new records can be added and no records can be deleted).

This is a common scenario, especially with related tables.  Can I ask Esri implements what is asked for above, namely

"Allow editing of feature attributes and related table records, but no editing of feature geometry"

 

In a web app you can set an editing widget to exclude geometry from editing, which is something. But as mentioned by other people in this post, it is Collector that is the problem. So an alternative is to have functionality at a "higher level" of control in Collector itself where people can fully edit all attributes (including adding and deleting of entries in related tables) but make no changes whatsoever to geometries of the feature class the other table is related to.    

That would be great. 

Thanks

Hugo 

0 Kudos