Several new features were added to enable Application and Offline Forms to be surfaced in the K2 Mobile for iOS app. This topic will describe these features and how they appear in K2 smartforms and K2 Mobile.
Offline Forms are currently a K2 Mobile for iOS feature only. This feature is not available with any other mobile platform. There is also an additional license necessary for using the offline feature. If this feature does not work for you, check what you are licensed for. For more information on how the Mobile App works, see KB001591: Using the K2 Mobile App.
There are two considerations when designing a Form to take advantage of the new features.
The Form properties added can be used to create Application and Offline Forms for use within K2 Mobile. These properties are available at the Form level, and are under the Advanced section:
These settings are not dependent on each other, and a Form can have one or both options checked.
Any Form that you want to be displayed in the Forms menu in K2 Mobile, also known as an Application Form, must reside in the System > Application Forms category in K2 Designer. This applies to the Form only; any Views used within the Form can reside in a different category.
Workflow task related Forms are not required to be saved in this location.
Application Forms are Forms that surface in K2 Mobile and would typically be used to capture data, start a workflow or be used for reporting purposes. These Forms are not necessarily workflow task related. They are located in the Forms section of the menu bar as shown below:
If the Form is displayed with a blue Form Activity (download) icon (shown below), it means that the Form has not been previously downloaded. Click on the Form to download it. Once downloaded, the user is able to open and interact with the Form.
If the Form is displayed with no Form Activity (download) icon, either it has been cached and it will be available, or if the Form is greyed out it has been set to be available online only.
If the Form is displayed with the Form Activity (download) greyed out (shown below), it means that the form is not cached and not available while in Offline mode.
Application Forms can be manually refreshed by dragging the page down.
Logging out of the K2 Mobile App clears the cached (previously downloaded) Forms, this means that all Forms with Offline Availability will need to be downloaded again.
Follow the steps below to create an Application Form using K2 Designer:
Offline Forms allow for data caching. These Forms can be accessed and actioned in K2 Mobile while not connected, either by the internet or cellular data. If K2 Mobile is offline and the user submits an Application Form or actions a task, the Form will be moved to the Outbox thereby actioning the item offline. When K2 Mobile is connected again, the Form will automatically be actioned or submitted.
If the Offline Availability Form property is not selected on the Form in K2 Designer, the Form will only be available when the K2 Mobile app is online.
There are several considerations when using Offline Forms in your environment. Some scenarios and controls are not supported for forms in Offline mode. This includes, but may not be limited to:
The following scenario is using a workflow related Form as an example. Follow the steps below to create an Offline Form using K2 Designer:
The following is applicable to workflow task related Forms:
If no internet connection is available or if the App is in Offline Mode, the status is reflected as such in the Task List and a red arrow is displayed indicating that Forms are available offline as shown below. The “Offline Mode” status can be dismissed if required by dragging it to the left, revealing the Search bar. Refresh the task list manually to display the status again.
Video | Links | Learn | Support |
No videos found for this article K2 on YouTube
No Additional links found for this article
No self-learning content for this article Try some scenarios...
No relevant support links available for this article
|