Hi everyone,
I'm working with a web map in ArcGIS Online and want to allow users to edit existing survey responses directly from a popup. I know it's possible to launch a Survey123 form in edit mode using a URL, but I'm not sure which attribute I should pass to make this work.
I’m using this link structure:
https://survey123.arcgis.app?itemID=db443b25d54f47d983861b018e02d1b0&mode=edit&{6BD69BAA-4A7C-4F10-A...
Is globalId the correct parameter to pass?
Should I be using another field or a different syntax?
The survey is hosted in ArcGIS Enterprise, and the feature layer includes a GlobalID field.
What’s the proper way to construct this URL so that it opens the correct existing survey response in edit mode?
Thanks in advance!
Does the "Edit in web app" section of this documentation help any? It shows how to construct the URL to edit survey responses in a web app.
Not exactly. I need the survey to open in the mobile version via the Collaborate tab in Survey123 Web. When I select the option “Open the survey directly in the Survey123 field app,” I get the following URL:
https://survey123.arcgis.app?itemID=db443b25d54f47d983861b018e02d1b0&portalUrl=https://gis.minseg.go...
This URL works fine to open the survey, but I haven’t been able to get it to work when I try to add parameters to open it in edit mode (mode=edit) and pass the {globalid}.
mode=edit is for browser surveys. If you want it to open in the app, you need action=edit.
Additionally you can't just add the globalid you have to also tell it that it is a globalID. For browser surveys it's &globalId= and for the app it's &q:globalId=
URL parameters for launching the field app