Select to view content in your preferred language

"Survey123 field app" to load a predetermined survey on startup

6764
32
Jump to solution
01-22-2018 08:20 PM
by Anonymous User
Not applicable

I’d like to replicate the "Survey123 field app" to load a predetermined survey on startup.

Similar to how the Quick Report template works.

e.g. On startup I want it to look like a standalone application for collecting water quality data or collecting tree data, etc….

Any help is greatly appreciated

Thanks,

Gee

0 Kudos
32 Replies
AurelieShapiro
Frequent Contributor

Install the East Africa Mangrove App from the Google play store. There is no survey gallery.

Von: Dambé SANWOGOU

Gesendet: Dienstag, 16. April 2019 15:28

An: Shapiro, Aurelie

Betreff: Re: - Re: "Survey123 field app" to load a predetermined survey on startup

GeoNet <https://community.esri.com/?et=watches.email.thread>

Re: "Survey123 field app" to load a predetermined survey on startup

reply from Dambé SANWOGOU<https://community.esri.com/people/s_anselme?et=watches.email.thread> in AppStudio for ArcGIS - View the full discussion<https://community.esri.com/message/846218-re-survey123-field-app-to-load-a-predetermined-survey-on-startup?commentID=846218&et=watches.email.thread#comment-846218>

0 Kudos
DambéSANWOGOU
Regular Contributor

Yes, I installed it. There is no Gallery in your application but I have the same code you sent me. That's what I don't understand!

9a1b952e808c445a9fdefbaba6d5d6ac.zip - Google Drive 

Best regards,

Anselme

0 Kudos
AurelieShapiro
Frequent Contributor

You need to open in qml editor and search for the keywords..

Von: Dambé SANWOGOU

Gesendet: Dienstag, 16. April 2019 16:01

An: Shapiro, Aurelie

Betreff: Re: - Re: "Survey123 field app" to load a predetermined survey on startup

GeoNet <https://community.esri.com/?et=watches.email.thread>

Re: "Survey123 field app" to load a predetermined survey on startup

reply from Dambé SANWOGOU<https://community.esri.com/people/s_anselme?et=watches.email.thread> in AppStudio for ArcGIS - View the full discussion<https://community.esri.com/message/846219-re-survey123-field-app-to-load-a-predetermined-survey-on-startup?commentID=846219&et=watches.email.thread#comment-846219>

0 Kudos
YuliaMamonova
Frequent Contributor

Hey,

Could you please let me know if you made it work? I have the same issue - I added that piece of code, but the app still opens the gallery. Would appreciate your help!

0 Kudos
DambéSANWOGOU
Regular Contributor

Yulia Mamonova‌ Hi, I have the same problem, but after several attempts I gave up. 

0 Kudos
AndrewKniowski1
Occasional Contributor

Note:  A quick modification to the suggestion by Erwin that seems to correct the survey not loading issue for current versions of the app.

Edit the template/SurveyApp.qml file instead of the file previously mentioned.  Locate the Component.onCompleted method for the root App component near the top of the file.  The method already has several lines of code.  Scroll to the bottom of the method and add the app.openParamaters code directly above initialized = true.   It is important that the code be added at the bottom of the method.  The survey gallery page may very briefly be visible using this app modification method but the survey should automatically load.

0 Kudos
YuliaMamonova
Frequent Contributor

Thank you Andrew for the suggestion!

Is it going to open the survey page (where you can review different survey folders - sent, outbox etc.) or the survey itself?

0 Kudos
Thinkoutsidescott
New Contributor

Hi Erwin, how can I do this same thing in the newest version of  Survey123? I do not see Survey Gallery Page available.
If possible I'd also like the app to skip the required log in page and go straight to the Survey Gallery where my public survey would theoretically appear. I am trying to make it as simple as possible for users to download my white labeled Survey123 app and only see the survey that I would like them to complete without having to do any extra steps to download the survey. 

Thank you, 

Scott

0 Kudos
AlexP_
by
Frequent Contributor

I see it is display and open only one survey.  Is it possible to display more than one survey (public)? Please let me know.

 

Thank you.

 

Alex

0 Kudos
YuliaMamonova
Frequent Contributor

Alex,

Did you try parsing several item ids? I also have this question as I am working on the new app, and will soon need to load several predetermined surveys.

0 Kudos