Need to recover surveys from outbox of deleted form

430
2
Jump to solution
07-02-2021 10:26 AM
CullenLaPointe
New Contributor

We recently got access to edit a survey and promptly deleted that survey form from our AGOL content by accident. We currently have 40ish surveys mostly completed and saved in the outboxes of 3 different devices. We have been able to recover all previously sent surveys and the associated data, however these 40 are stuck in the outboxes of our devices and we are hoping for a fix that doesn't involve manually re-entering all of the data and associated attachments (pictures).

0 Kudos
1 Solution

Accepted Solutions
Philip-Wilson
Esri Notable Contributor

Hi @CullenLaPointe,

Did you need to create a new feature service and survey to replace the deleted one? If so, they will have different itemIDs and therefore the surveys currently sitting in Outbox can not be submitted to the new feature service and survey form item. The easiest way is to re-enter the data into a new survey that points to the correct feature service.

It may be possible to edit the sqlite database if you copy it to another device that has the correct survey downloaded and know the itemIDs, you would have to search and update the itemID information stored in the sqlite database for each survey record by modidying it with DB Browser or similar.

Regards,

Phil.

View solution in original post

0 Kudos
2 Replies
Philip-Wilson
Esri Notable Contributor

Hi @CullenLaPointe,

Did you need to create a new feature service and survey to replace the deleted one? If so, they will have different itemIDs and therefore the surveys currently sitting in Outbox can not be submitted to the new feature service and survey form item. The easiest way is to re-enter the data into a new survey that points to the correct feature service.

It may be possible to edit the sqlite database if you copy it to another device that has the correct survey downloaded and know the itemIDs, you would have to search and update the itemID information stored in the sqlite database for each survey record by modidying it with DB Browser or similar.

Regards,

Phil.

0 Kudos
CullenLaPointe
New Contributor

Thanks Phil, that's what we ended up working on, just thought we'd check and see if there was a less time consuming solution.

I appreciate the response.