Select to view content in your preferred language

Related Item Edits Not Working

78
1
a week ago
CarsonMorton
Frequent Contributor

What I am trying to accomplish:

I want to have a point feature class named "Stations" with a child point feature class named "Valves". In field maps when you click a Station, the popup shows the associated Valves. Then selecting a Valve in the popup brings up that item, where you can then edit the Status field to On or Off.

How I've been trying to do it:

In Pro I have created two point feature classes. They both have a text field named "StationID". I've created a relationship class. (simple, one-to-many, unattributed, Station StationID as primary key, Valve StationID as foreign key) Publish as a web layer. In Online, go into the parent layer settings. turn on editing capabilities, allow to add, delete, and update. Create a map to test it out. Set up the forms in Field Maps Designer. Test it out in field maps (reloading the map every time)

Where I seem to be stuck:

In Field Maps, there is no + to add features. And when any feature is selected there is no option to edit.

0 Kudos
1 Reply
DougBrowning
MVP Esteemed Contributor

Sounds like you are turning off editing of the service so it turns both layers off.  You can set geometry edits by layer but not all editing by layer.  The parent and child are in the same service.

Best I have found is to turn off editing of geo at the service level then in the map turn off editing of the parent.  This works in FM but technically they could back door it with Pro or a new map.  But best you can do.

0 Kudos