Offline attachments support

Offline case attachment support allows your custom mobile app to synchronize case attachments between Pega Platform and an Android or iOS mobile device. This way, custom mobile app 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 custom mobile app 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 mobile device.
  • Mobile device users can view case attachments that have been added in Pega Platform, even when the mobile device is disconnected.
  • You can control the attachment forwarding process programmatically by using the setFileForwardingState method that belongs to the Pega Mobile Client API.
Note: For the offline case attachment support to work, you must include the UIKit in your application, and your custom mobile app must use the Attach Content control.

When you disable offline case attachment support:

  • All case attachments are synchronized from the custom mobile app 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.
  • Mobile device users can view case attachments that have been added on the mobile 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 mobile device. If a user attempts to attach a file that exceeds the maximum size value, an error message is displayed.