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

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

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
by Anonymous User
Not applicable

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
by Anonymous User
Not applicable

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.

KerryKang
Occasional Contributor III

Thanks Phil! This should work for my scenario. 

Kerry