Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Attach content support in offline mode

Updated on March 3, 2022

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.

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.
  • 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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us