Attachments

Frappe allows attachment of files to documents. Users with Read permissions on a particular document will also be able to access the files attached to it.

Attachments

How to Attach a New File

There are several ways to attach a file to a document.

Select File

Select File

Drag and Drop

Drag and Drop

Uploaded File

Attach a file a that was previously uploaded, to a different document.

Uploaded File

If you use a separate server for files or use online services like Dropbox or Docs, you can attach a file by providing a link to it.

Web Link

Camera

Attach Images by taking a photo using your device's camera.

Camera

File Manager

All the attached files are listed in the File Manager. You can access these by navigating here:

Home > Tools > Files

File Manager

Import Zip

You can also bulk import multiple files at once using the Import Zip feature.

  1. Go to File List > Menu > Import Zip.
  2. Upload a zip file.
  3. After the zip file is uploaded, it's contents will be extracted and each file will be created as a new File record.

Importing files from zip

Note: Hidden files (files starting with .) are not extracted when importing from a zip file.

Limits

A limit of 10MB is applicable on file size per attachment by default. For self-hosted users, this can be changed by setting max_file_size in your site's configuration file.

Attachments per Document

You can limit how many files can be attached to a specific document.

Step 1: Navigate to Customize Form

Home > Customization > Customize Form

Step 2: Select Document Type

Select the document type for which you'd like to set this limit.

Select Document Type

Step 3: Set Limit

Set the value of Max Attachments to the maximum number of attachments allowed for this document type.

Set Limit

Once you're satisfied with the changes, click the Update button. That's it! The maximum number of attachments per document will now be validated every time a new attachment is added to a document of this type.