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.
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.
- Offline-supported controls
Offline-enabled mobile apps only support a specific set of UI controls.
- Packaging a signature after the work object is resolved
For offline-enabled applications, signatures are removed by default from the client store after the work object is resolved. If an offline-enabled application contains a Signature Capture control that must be packaged and previewed, the pyIsWorkSignatureRequired when rule for the @baseclass class must be set to true.