AnsweredAssumed Answered

Lost Relationship Between S123 and Collector

Question asked by MReilly@usbr.gov_USBR on Apr 11, 2018
Latest reply on Apr 11, 2018 by MReilly@usbr.gov_USBR

Hi there,


I've spent a few days working on this and am at my wit's end. I have created a point feature class with the GlobalID (to be used in collector). And then I created a table (to be used for Survey123) that includes a parentglobalid. I have one text field within collector I want import to the Survey123 form.


I created a relationship between the feature class and table.


I then created an mxd with the feature class on top and the table beneath, and posted onto AGOL as a feature service.


I opened Survey123 Connect (version 2.7.72) and created a new survey using the feature service.


Here is where I'm running into problems...


I deleted the rows coming from the feature class. My table items are within a repeat. I added a parentglobalid row (as hidden and esriFieldTypeGUID).


When I was removing the repeat items, and then changing the form_id to match the table name, it changes my schema, and then wouldn't let me post because it wouldn't match up with my feature service. I finally got it to post (no idea how) without errors.



I then created a map in AGOL and added this feature service to it, and configured the popup link within the feature class layer to include bringing over the one text field from collector to survey123. I tested it out and found the relationships are lost when looking at the data on AGOL.


However, if I don't delete the repeat rows and I keep the form_id to the feature class layer, the relationships work, but it does not import the field from collector.


Additionally for some reason my GlobalID for the survey123 table is showing up as GlobalID_2 within my tables on AGOL.


I'm not sure what I'm doing wrong. I have tried multiple times, but I can't seem to figure out how I'm losing the relationships.


I am a bit new to this, so trying to figure it out. And I'm on a very heavy deadline.


I appreciate any help you can provide. Thank you.