Attach content support in offline mode

You can attach content to an offline-enabled application when you are not connected to the network. Specifically, while working in offline mode, you can attach any type of file from the device storage available from the device's native file picker component, for example, built-in image, video, or audio gallery. You can also attach content while working in offline from any mobile app that is installed on the device, for example, Audio Recorder or Camera.

If you are taking a picture or recording a video clip, they can be automatically resized according to compression settings in the Attach Content control in Dev Studio. If you are using Pega Client for Windows, when you use the Attach Content control, the video recording feature is not available.

After a file is attached in offline mode, it is added to the sync queue and is included in the attachment list that is displayed in the application. While you are working in offline mode, you can view or delete any attachment on the attachment list before the application is synchronized with the server. After the application is connected to the network, all the attachments that were added to the queue while in offline mode are automatically synchronized with the Pega Platform server.

Note: When users restart an offline-enabled mobile app, pending file attachments that they added but did not send to the server while working in offline, might no longer be available.