Plugin Mode

Download All Attachments

Summary

Click the button to download all files in an attachment field together as a single zip file in your browser. You can turn this on or off separately for the details screen and the list screen.

Smartphone support

This plugin supports smartphones.

How to use

Select the attachment fields, button label, ZIP filename, and pages where the button should appear. On a details page, the button downloads attachments from the displayed record. On a list page, it downloads attachments from records matching the list filter.

When it runs

Depending on the settings, this customization runs at the following times. Any configured conditions are also evaluated.

  • When you open a record details page
  • When you click a button added by this plugin
  • When you open a record list page

Click the button added by this customization to run the operation.

Parameters

Enter or select a value for each setting unless it is marked optional.

Page

Choose the pages where the download button should appear.

Available options:

  • Record List Page
  • Record Detail Page

Initial value: Record List Page, Record Detail Page

Attachment Field

Please select an attachment field. Note that if you select one field, the download button will appear in the field; if you select two or more fields, it will appear in the menu. You can select more than one field.

The following field types can be selected.

  • Attachment

Name of Download Button

Enter a button label that makes its purpose clear to users.

Initial value: 添付ファイル一括ダウンロード

File Name

Specify the name of the ZIP file to download.

Initial value: 添付ファイル_${format(now(), 'YYYYMMDDHHmmss')}.zip

Notes

On a details page, the button appears in the attachment field if one field is selected, or in the menu area if multiple fields are selected. On a list page, it appears to the right of the menu on a computer and below the menu on a smartphone. If no records match the list filter, a message is displayed and no download starts.

The following actions and conditions are useful when building similar behavior in customization mode.

Actions

Conditions