Method to to copy data from an existing survey record into a new record for updates/edits?

4631
10
Jump to solution
11-30-2020 11:41 AM
KimberlyMcCallum
New Contributor III

I am looking for a way to create a new Survey123 record that is prepopulated with data from an existing record. Ideally, I would like to have a Dashboard where a user selects an existing record from a list or a map and that initiates a new record with the values from the existing survey copied into all the fields, allowing them to update and add to this data in a new record. Following these two posts (https://community.esri.com/t5/arcgis-survey123-questions/duplicating-survey-editing-records-in-a-web... and https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-editing-records-in...), I was under the impression that I could do this just by using the URL parameters and simply omitting the mode parameter; however, when I try to open a survey without specifying mode=edit OR mode=view (e.g., link below), I get the following error: "Cannot read property 'view' of undefined"

https://survey123.arcgis.com/share/db2d5d3e245d40ce9b53239015a01cfc?globalId=4af34610-79b0-43fc-8bb7...
(if I add mode=edit or mode=view to the URL, it works but those don't meet my needs of copying the data into a new record).

Am I missing something? Or, is there a better approach that I should be taking to accomplish this workflow?

Thanks in advance for any and all feedback.

0 Kudos
10 Replies
Katie_Clark
MVP Regular Contributor

Hi @JodyZhengLiu - I was wondering, does this work for surveys created with Survey123 Connect? And if so, would it work for copying surveys that are just in the "Outbox" folder? (our field crew always work offline and sync when they return to the office).

Thanks in advance!

Best,
Katie


“The goal is not simply to ‘work hard, play hard.’ The goal is to make our work and our play indistinguishable.”
- Simon Sinek
0 Kudos