Survey123 form link fails to load from Collector if Survey123 is running from background

1004
3
11-02-2020 08:52 AM
Ramon_de_Leon
Occasional Contributor

We have been having some issues on opening Survey123 from a pop-up from Collector. In our workflow, the Surver123 form is opened through asset point locations pop-up info in Collector and some of the data fields of the asset is passed to the Survey123 form that is opened by the link.

It works fast and seamless on the 1st data collection point, but when we try to do another data collection point and Survey123 is still running from the background of the device, the form fails to load (it gets stucked on the loading screen).

The user needs to fully close the Survey123 app after a collection point to make sure that the Survey123 form link would open on the next collection point from Collector.

Does anybody else also had this issue? If yes, is there any work around that worked for you? 

0 Kudos
3 Replies
ZacharySutherby
Esri Regular Contributor

Hello Ramon de Leon‌, 

I had tested using the Survey123 app link and was unable to reproduce the same behavior. For the URL that you are using to link from Collector to Survey123 is if formatted like arcgis-survey123:// or https://survey123.arcgis.app? 

Please use this link for reference regarding the difference: Integrate with other apps—ArcGIS Survey123 | Documentation 

If you capture the diagnostic log when the behavior happens and the exact timestamp the form starts loading are there any error messages in the diagnostic logs? 

Thank you, 

Zach

Thank you,
Zach
0 Kudos
Ramon_de_Leon
Occasional Contributor

Thanks for testing Zach,

If it matters, forgot to mention that I am also pulling data from a large CSV file (more than 200,000 records) on the Survey123 part of the workflow.

 https://community.esri.com/thread/258799-browser-crashed-when-editing-data-in-survey123-website 

Tested on different devices both iOS and Android and still having the same issues. On the first data collection point, the survey goes well but on the next collection point if Survey123 was not closed from previous session and still running on the background, after launching the Survey123 Form from the Collector pop-up it crashes. Doing the collection/survey again with no Survey123 running on the background, everything runs OK.

The link below are some logs recorded when the Survey failed to load, the only thing that stands to me on "20201110-102030", where on the end of the log it says "qt.qpa.glcontext: OpenGL ES calls are not allowed while an application is backgrounded"

Link to log files  

0 Kudos
Ramon_de_Leon
Occasional Contributor

Did an update of Survey123 (October release) and so far it seems to have solved the issue.

0 Kudos