Configure offline mode behavior
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- Mobile Configuration and Navigation
Create system properties to customize the offline mode behavior of the mobile application.
Before you begin
Install or request installation of the SG Offline support plugin (com.glide.sg.offline).
Role required: admin
Procedure
- Navigate to All and in the filter enter sys_properties.list
- Verify that the property does not exist by searching for the property name in the System Properties table.
- Click New.
-
Complete the System Property form using the property names listed in this table.
Use the information in the description to determine a value for the property.
Note: For more detail on creating system properties, see Add a system propertyTable 1. Mobile offline system properties Property Name Description glide.sg.offline.attachment.allowed_content_types A comma-separated list of allowed file types for attachments in offline mode. The default list includes these types: image/png, image/jpg, image/gif, video/quicktime. The default is empty. If empty, offline mode does not download any files. glide.sg.offline.attachment.max_size The maximum size, in bytes, for attachments that are cached while in offline mode. If no download, a placeholder displays. The default size is 50 MB. glide.sg.offline.attachment.max_total_bytes Maximum space allocated for all attachments in cache. Default value is 400 MB, max is 2 GB. The property value is in MB. glide.sg.offline.enabled Enable offline capabilities on your instance. Offline mode is enabled by default. To disable offline mode, create a system property with this name and set the value to false. glide.sg.offline.expiration The length of time before cached data is expired. The default length is 48 hours. After 48 hours, the system deletes the data due to security protocol.
The property value is in milliseconds.
glide.sg.offline.incremental.client_polling_interval Determines minimum polling frequency. The property value is in minutes. The default value is 1, the minimum value is 0. glide.sg.offline.incremental.enabled Enable the incremental offline for all users. Incremental offline is disabled by default. glide.sg.offline.incremental.record_watcher_expiration Defines how long a record watcher is active but offline payload is not retrieved before it is removed. The property value is in minutes. The default value is 30. glide.sg.offline.incremental.silent_push.max_pushes_per_hour Limits the number of silent pushes to send per 60 minutes per user. The property value is in minutes. The default value is 3. The maximum value is 10 glide.sg.offline.incremental.silent_push.min_wait_time Determines minimum time between silent pushes per user. The property value is in minutes. The default value is 1. The maximum value is 1440. glide.sg.offline.roles A comma-separated list of role names that are allowed to work in offline mode. If empty, all users may use offline mode. glide.sg.offline.scheduled_download.cachesync_offset Number of minutes before a user's schedule to begin payload generation. The property value is in minutes. Note: Be sure not to set the value of this property to a value that was less than the interval that the Mobile Offline Scheduling job is running. Doing so will prevent offline payloads from being generated.glide.sg.offline.scheduled_download.enabled Enable scheduled downloading for all Agent app users glide.sg.offline.scheduled_download.reminder_offset Number of minutes before a user's schedule that they receive a manual download reminder. If there is no cache or the cache is expired, offline mode sends a reminder for the user to manually download a cache. Offline mode sends this reminder once a day before the start of the users schedule. glide.sg.offline_payload.refresh_frequency The number of minutes before a cached record is flagged for refresh. The default is 240 minutes. The property value is in minutes. - Click Submit.
Result