Select to view content in your preferred language

Update many-to-many relationship through selected items

98
1
a week ago
Labels (2)
Service_SIG_CAPDFT
Emerging Contributor

Hello,

I'm trying to create an Experience Builder application that allows a field agent performing an intervention on a network to link this intervention to the actual network segments involved.

The data consists of a point feature class called "interventions" and a line feature class called "network". Naturally, a network segment can be involved in multiple interventions, and a single intervention can concern multiple segments. Therefore, a many-to-many (M:N) relationship has been defined in the database.
The datas had been published as a service on our enterprise server then used through URL in Online portal.

Since it's not possible to know in advance which segments are involved, only the team leader in the field can determine which ones are affected. As the teams are not GIS experts, I believe the most user-friendly way to enter the data is to allow them to select the segments directly on the map then clic an "update" button.

In ArcGIS Pro, it's simply a matter of selecting the "intervention" and "network" features, then using the attribute pane and the tool "Add selected item to the relationship".https://pro.arcgis.com/en/pro-app/latest/help/data/relationships/populate-an-attributed-relationship...

Now I'm trying to replicate this action in Experience Builder (or in ArcGIS Online more generally).

The solution suggested by ChatGPT was to develop a custom widget, but I currently don't have the time or skills for that...

I'm open to any ideas.
Thank you.

0 Kudos
1 Reply
Allen_Zhang
Regular Contributor

Hi @Service_SIG_CAPDFT 

Have you tried the Edit widget's map mode? It supports editing related records.

0 Kudos