Select to view content in your preferred language

Edit Existing Survey123 Record through app

724
2
Jump to solution
02-02-2023 08:56 AM
Savannah2019
New Contributor III

I need help creating a url to open an existing record in survey123 from field maps. I can get it to open a new record and populate certain fields automatically, but whenever I try to open it to edit an existing record, I just get a never-ending loop of "downloading survey" and "downloading thumbnail". 

This is what I'm using:

 https://survey123.arcgis.app?itemID=<itemID>?mode=edit&globalID={globalID}

 

 

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

The "mode=edit" parameter only applies to the web form. The best you can do with the field app URL is to specify the folder and include a filter. I've noticed that if your filter only returns a single record, it will automatically open the form.

https://survey123.arcgis.app?itemID=<itemID>&folder=inbox&action=edit&filter={globalid}

See: https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm

- Josh Carlson
Kendall County GIS

View solution in original post

2 Replies
jcarlson
MVP Esteemed Contributor

The "mode=edit" parameter only applies to the web form. The best you can do with the field app URL is to specify the folder and include a filter. I've noticed that if your filter only returns a single record, it will automatically open the form.

https://survey123.arcgis.app?itemID=<itemID>&folder=inbox&action=edit&filter={globalid}

See: https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm

- Josh Carlson
Kendall County GIS
NicholasDay
New Contributor III

In order to open your existing record using the Survey123 Field App, not the Web App, we have found the following method works to edit existing records:

Launch S123

arcgis-survey123://

 

Identify the survey to open

?itemID=<item id>

 

Specify the survey

&q:globalId=<global id>

 

Edit an existing survey

&action=edit

 

Refresh the Inbox (even though you may not even have Inbox enabled, this seems to be needed for things to work correctly)

&update=true

 

Example:

arcgis-survey123://?itemID=8d1361ae1cdb48a5b3a67b2bd18e571d&q:globalId=b57f5451-7d2d-4a8a-9a48-c293e85d7543&action=edit&update=true