I have a very large project in which I have used a feature service GlobalID as a unique identifier for each record. This number gets copied to a field in another feature layer so that they can be related in an Experience. However, whenever I need to update my project and copy all the data we have collected, the GlobalIDs don't persist (it's a known, expected situation--I've talked with Esri support about this and the workaround doesn't work in my case), so I have to manually update them to the new GlobalIDs.
To help with minimizing the work in the future, I'd like to have Survey123 populate another field in the survey, a hidden field, with the GlobalID, so it persists even when the actual GlobalID doesn't. However, everything I try either doesn't write any value to the field or it throws an error in Survey123 Connect and won't publish.
I feel like this should be very easy, similar to writing "username" to a field. I have done extensive searching and everything I've found has been relating to custom URL parameters. I've tried modifying these solutions to my issue, but nothing is working.