Requirements for surveys in offline mode
Your application can support survey functionality when a user is offline. Verify that you meet the following requirements when you plan to ask questions and collect answers in offline mode.
Questions are virtual or simple but not complex.
Each question is integrated with a Question step in the life cycle of a case, and the corresponding case type is enabled for offline support.
The conditions for displaying warnings are provided in Boolean expressions.
A question is not used more than once in a case, because answers are overridden in offline mode.
Your application ruleset contains a version of the @baseclass.pyDataPageWhitelistForOffline HTML rule that lists D_QuestionOptions_Master as a data page that is packaged for use offline.
- Asking a question in a case
You can use the Question shape to collect a single response from a user who is processing a case. By isolating individual questions, you can selectively capture user input without the formal structure of a survey.
- Enabling offline support for case types
You can work on assignments and create cases while your device is offline. By enabling offline support for a case type, you allow case workers to move cases closer to resolution while your application is disconnected from the network.