Skip to main content

Table of Contents

Attach content support in offline mode


Only available versions of this content are shown in the dropdown

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.

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.

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us