Is there a way to detect if users are in online or offline?

250
2
Jump to solution
03-02-2021 04:23 PM
KerryKang
Occasional Contributor

Hello all, 

 

I created a survey that brings up different questions depending on what users answer to 'Are you in online or offline environment?'. It would be handy if there is a way that the survey can detect it and control questions directly from its status.

Any experience or thoughts?

 

Kerry

0 Kudos
1 Solution

Accepted Solutions
Philip-Wilson
Esri Frequent Contributor

Hi @KerryKang,

Yes this is possible via a pulldata() property. It will return if the device is online or not. You can then use this value to hide or show questions via relevant expressions, or add constraints or calculations to other questions.

Please refer to this documentation for more information on how to use it:

https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D526...

Regards,

Phil.

View solution in original post

2 Replies
Philip-Wilson
Esri Frequent Contributor

Hi @KerryKang,

Yes this is possible via a pulldata() property. It will return if the device is online or not. You can then use this value to hide or show questions via relevant expressions, or add constraints or calculations to other questions.

Please refer to this documentation for more information on how to use it:

https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D526...

Regards,

Phil.

View solution in original post

KerryKang
Occasional Contributor

Thanks Phil! This should work for my scenario. 

Kerry