Configuring file size options for the Attach content control

To limit the size of files that the user attaches to a mobile app, for example to conserve bandwidth during synchronization, you can configure attachment compression parameters, such as video clip format, video clip duration, maximum image size, and maximum image quality.

Configuring attachment compression parameters can help you limit the size of files that are transferred between a mobile device and the server. Selecting the Infinite option means that files are attached in their original format or length, which results in increased data transfer. Smaller resolution, shorter times, and the lesser quality, all help reduce the size of the file, which results in decreased data transfer duration. The settings apply when a user records a new video or takes a new photo, but do not apply to pre-recorded media. Media files are compressed on the device before they are uploaded to the server.
Note: Attaching large files might fail even if you select options other than Infinite to limit the size of attachments, when configuring video clip format and duration, or image size and quality. This might occur due to memory limitations of the device.
  1. In Designer Studio, open the section rule that has the Attach content control, and click the View Properties icon.
  2. In the Mobile app attachment compression section:
    1. In the Video max size field, select one of the following options:
      • Infinite – Uploads the clip to its original resolution.
      • 1080p – Converts the clip to the 1080p format (1920 x 1080 pixels).
      • 720p – Converts the clip to the 720p format (1280 x 720 pixels).
      • 540p – Converts the clip to the 540p format (960 x 540 pixels).
    2. In the Video max duration field, select one of the following options:
      • Infinite – Uploads the clip to its original length.
      • 1 minute – Crops the clip to 60 seconds.
      • 30 seconds – Crops the clip to 30 seconds.
      • 10 seconds – Crops the clip to 10 seconds.
    3. In the Image max diameter field, select one of the following options:
      • Infinite – Uploads the clip to its original size.
      • 2560px – Resizes the image proportionally so that its longer edge is no longer than 2560 pixels.
      • 1920px – Resizes the image proportionally so that its longer edge is no longer than 1920 pixels.
      • 1080px – Resizes the image proportionally so that its longer edge is no longer than 1080 pixels.
    4. In the Image max quality field, select one of the following options:
      • Lossless – Uploads the clip to its original quality.
      • High – Compresses the image by using the 90 percent quality level.
      • Medium – Compresses the image by using the 50 percent quality level.
      • Low – Compresses the image by using the 20 percent quality level.
  3. Click Submit to save the changes to the control.