Select to view content in your preferred language

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

6761
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

are there any updates on this? We want to launch a series of public crowd sourcing apps - survey123 apps that open a public survey directly. Seems simple enough but ESRI technical support was not able to help and we are doing an official app launch next week...it is a shame to have a long work around (download survey123, search for survey, download), which are several steps which prevent people from easily accessing the app, and it's also not branded.

Anyone know a developer who could create these kind of customized survey123 apps for us would be greatly appreciated as it seems there is no ready ESRI software solution available...

0 Kudos
MarkBockenhauer
Esri Regular Contributor

Aurelie,

When Survey123 is installed, it's really easy to open a specific survey directly, using a link...  users do not need to search for the survey, you can present it to them.

 the applink pattern is: arcgis-survey123://?itemID=<Survey_ID>

This blog article shows how to launch a specific survey from Explorer for ArcGIS... not exactly what you are asking, but some information you may find useful. https://community.esri.com/groups/survey123/blog/2018/03/30/using-app-links-to-launch-survey123-from... 

I believe you could do this in two links.

   Link to install Survey123

   Applink to Open the Survey.

Mark

0 Kudos
AurelieShapiro
Frequent Contributor

thank you Mark,

I agree it should be "really easy" to open a survey in survey123 but unfortunately it isn't.

Imagine the possibilities if people could make apps that are surveys!

I purchased a developer Builder account from ESRI to the tune of 1250$ to be able to customize and brand survey123 with appstudio, which I did, but it's useless - it is not possible to open a survey without a login first. The workflow you outlined can only use esri's survy123 and is what we have been doing, but we wanted branding and invested in developer.

The goal of my public app is to make it as easy, simple and straightforward as possible for people to access and fill out the survey. With this workflow they won"t do it and it's just clunky.

Or they have to install collector, find my map, then click open a survey123? that's even worse.

Esri technical support spun me in circles for weeks and now told me I need to hire an app developer. Which means my investment into the developer account was a loss - I could have used that money to just pay someone design an app from scratch.

****************

Aurélie Shapiro

Remote Sensing Specialist

WWF Germany

aurelie.shapiro@wwf.de

www.wwf.de/remote-sensing

ErwinSoekianto
Esri Alum

Aurélie,

If you prefer to go for the 2nd option from my suggestions above, which is customizing the source code of Survey123 field app. This is the simplest code change I could think of, this is done on template/SurveyGalleryPage.qml 

Component.onCompleted: {
 app.openParameters = JSON.parse('{"itemID":"814e2804146341c89c237d166de19b0b"}');
}

So I instead of opening the Survey123 using custom URL scheme explained above (1st option from my suggestions), we are going to add a block of code setting that `openParameters` as if we have a parameter, which is the itemID of the survey that you want to open. 

I have tested this, now the Survey123 field app will open a predetermined survey that you set in that block of code. But please take this solution with a grain of salt, as this is just a quick hack to prove that it is easy to do. 

Also please note that this will open a survey that is public as you are required to login for surveys that are private or shared with an organization. 

I hope this helps,

Erwin. 

AurelieShapiro
Frequent Contributor

thank you erwin!

I did change the custom URL scheme in my app but it didn't have any effect on how it opens. I believe that is only if you want your app to open in another app like collector...which is too complicated - I just want one single app. Or maybe I am wrong - doyou have a screenshot of what it should look like (there are in fact 2 entries for custom URL in appstudio settings). Tech support could not provide this or confirm if my settings were wrong.

This block of code might be exactly what I am looking for and what I have asked in this forum...i will check it - thank you!!

-aurélie

****************

Aurélie Shapiro

Remote Sensing Specialist

WWF Germany

aurelie.shapiro@wwf.de

www.wwf.de/remote-sensing

0 Kudos
DambéSANWOGOU
Regular Contributor

Hi aureliesdlaw-esristaff ESoekianto-esristaff, I hope you found a solution, I also modified the code of my application by adding the url of my Survey123 form but nothing changes. The application opens with the Survey gallery

Appstudio code

appstudio player

0 Kudos
AurelieShapiro
Frequent Contributor

Hi there,

see our code, i think we disabled the gallery?

https://globilwwf.maps.arcgis.com/home/item.html?id=9384309700e048b78213b7d8087a61da

Von: Dambé SANWOGOU

Gesendet: Dienstag, 16. April 2019 13: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/846211-re-survey123-field-app-to-load-a-predetermined-survey-on-startup?commentID=846211&et=watches.email.thread#comment-846211>

DambéSANWOGOU
Regular Contributor

I do not have access to your Organization account and I do not have access to the content of the link you sent me

https://globilwwf.maps.arcgis.com/home/item.html?id=9384309700e048b78213b7d8087a61da

Best regards,

Anselme

0 Kudos
AurelieShapiro
Frequent Contributor

Hmmm it’s shared with everyone…typical esri…is this what you are looking for? https://drive.google.com/file/d/1sxW8QVgMkwuFMX8sQYIDpuKmNWe2bMch/view?usp=sharing

Von: Dambé SANWOGOU

Gesendet: Dienstag, 16. April 2019 14:08

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/846214-re-survey123-field-app-to-load-a-predetermined-survey-on-startup?commentID=846214&et=watches.email.thread#comment-846214>

DambéSANWOGOU
Regular Contributor

I saw the code in your google drive. But it's the same code I have in my application.

Best regards,

Anselme

0 Kudos