You are here: Offline capability > Attach content support in offline mode > Configuring maximum offline attachment size

Configuring maximum offline attachment size

You can configure the Attach Content control in an offline-enabled application so that you can attach files to the application when you are not connected to the network. From the Mobile Offline landing page, you also set the maximum size of the file that can be attached by users. This setting ensures that the application accepts only file attachments up to the indicated size, for device performance, memory limitation, or security reasons. By default, the maximum size of a file that can be attached in an application while working in offline mode is 3 MB.

  1. Click Designer Studio > Mobile > Offline.
  2. Click the Settings tab.
  3. In the Maximum offline attachment size (in MB) field, enter the maximum size of a file (in MB) that can be attached while working in offline mode.
    Due to the sync queue limitation, only files with a size of up to 6 or 7 MB can be uploaded when working in offline mode. The offline attachment maximum size cannot exceed the online attachment maximum size setting that is specified in the Pega Platform Dynamic System Settings.
  4. Click Update.