Offline attachments support
Offline case attachment support allows your mobile app or Pega Client for Windows to synchronize case attachments between Pega Platform and an Android, iOS or Windows device. This way, application users can view, add, and delete attachments to cases, regardless of the connection status.
When you enable offline case attachment support:
- All case attachments are synchronized between the Pega Platform server and the application when the device is connected.
- If the connection is interrupted while synchronization is in progress, the transmission of failed attachments starts from where it stopped.
- Case attachments are stored efficiently on the device.
- Device users can view case attachments that have been added in Pega Platform, even when the device is disconnected.
- You can control the attachment forwarding process programmatically by using the
setFileForwardingState
method that belongs to the Pega Mobile Client 7 and Pega Client for Windows APIs.
Note: For the offline case attachment support to work, you must include the UIKit in your
application, and your application must use the Attach content control. For more information,
see Configuring the Attach content control.
When you disable offline case attachment support:
- All case attachments are synchronized from the application to the Pega Platform server when the device is connected.
- If the connection is interrupted while synchronization is in progress, the transmission of failed attachments starts from the beginning of the file.
- Device users can view case attachments that have been added on the device, even before they are synchronized to the server. However, case attachments that have been added inĀ Pega Platform can only be viewed when the device is connected.
- Attachment size is limited to 3 MB.
The maximum attachment size that you configure on the offline configuration landing page is enforced only when a user creates a case attachment on a device. If a user attempts to attach a file that exceeds the maximum size value, an error message is displayed.