Cache Dynamic Choice Lists for Offline Use (Search Appearance)

354
1
11-01-2021 02:34 PM
Status: Open
Labels (2)
Skyler
by
New Contributor III

I'm excited about the many applications of the recently-added ability to create dynamic choice lists using the search appearance. Unfortunately, including a dynamic choice list makes a survey unusable offline; in offline mode, questions with the search appearance have no response options at all. Since all of my users collect field data without reliable connectivity, this means I cannot use the search appearance at all.

It would be fantastic if the field app could cache any dynamic choice lists when a survey is first downloaded so that if the survey is opened in offline mode the cached versions would be used. The caches could be updated any time an instance of the survey is collected when the device has connectivity, or if the survey is manually refreshed.

If caching dynamic lists is impossible, an alternative could be to make questions with the search appearance switch to free text entry when the device is offline. That way, at least a survey with dynamic choice lists would not be completely unusable in offline mode.

Tags (2)
1 Comment
HildermesJoséMedeirosFilho

In my mind a simpler approach it would be  - check for online data or 
MMPK, since MMPK have  map Operational Layers and Tables.

Therefore, in theory, one would be able use javascript or search, to those ones implementing the survey it would be easier that way.


If there is any url properties in the MMPK  layers and tables, it shouldn't be that hard.

Many client would beneffit of such aproach.