I have a dataset of forestry plots where field crews collect data on every tree that falls within a certain radius of that plot (one plot, many trees). I am attempting to do the common task of creating a survey where a field technician can select a plot and then page through each tree (repeats) to edit or add data as necessary. Despite excessive troubleshooting, I cannot get the repeat fields in the Survey123 App to pre-populate with the old data from a related table. I believe I am caught up on something very small or simple, but can't for the life of me figure it out. For background, I have conducted the following (ArcGIS Pro 2.9.2 and AGOL):
- created a GlobalID field for the plots and a GUID field for the trees
- joined the plots and trees on a common plot name field and filled the trees' GUID field with the plots' GlobalID
- removed join and used Create Relationship Class to create a one to many relate (GlobalID and GUID fields as primary and foreign keys respectively)
- Published a Web Layer (hosted feature service) with all editing enabled and syncing enabled in the Configuration tab
- Used Survey123 Connect to create a new survey from the feature service, XLSForm auto-generated the repeat based on the related Tree table, and I added "allowUpdates=true query" to the esri bind parameters column.
-Turned on Inbox, turned on Enable Sync, and successfully published
- On Survey123 App downloaded the survey and refreshed to load all the plots
- ISSUE: Select a plot from the list (or on the map) and select edit. Survey opens and the repeat is visible but NO data is pre-populated
I greatly appreciate any help!