Relates GlobalID and ParentGlobalID Survey123

392
4
02-23-2023 05:15 AM
PamelaLandy
Occasional Contributor
Hi everibody
I have carried out a survey between the owner and his land that he can manage. It works well in AGOL. But when I need to preserve the relationship between the features (one has the location of the address and the other is the location of parcels within a repetition) but when exporting to FGDB via AGOL they are lost.
Any idea what may be happening?
thxs
Tags (1)
0 Kudos
4 Replies
Andy_CS
New Contributor III

Could be that you need enable the Preserve Global IDs environment setting when exporting to fgdb. Assuming that you are joining on globalid and parentglobal id fields?

You could also set up the join in desktop before exporting.

0 Kudos
PamelaLandy
Occasional Contributor

Hi, this option does not exist when exporting the Feature layer via AGOL

 

0 Kudos
DougBrowning
MVP Esteemed Contributor

If you use Export button in the service page it will preserve them.

DougBrowning_0-1678732540980.png

 

0 Kudos
DougBrowning
MVP Esteemed Contributor

Yes this is why using globalid is actually a poor choice.  I know the help docs say different but they assume the data never moves.  Plus the bugs with upper and lower ids in different products will get you too.

I have a write up on this here  https://community.esri.com/t5/arcgis-collector-questions/related-tables-for-offline-data-collection/...

If you will be exporting you need to manage your own IDs - using a meaningful one or copying the globalid into a static GUID field.

Hope that helps

0 Kudos