Managing MIME Type Settings

Edit on GitHub

This article describes everything you need to know to create and manage the MIME type settings. A media type (also known as a Multipurpose Internet Mail Extensions or MIME type) is a standard that indicates the nature and format of a document or file. These settings are added to either allow or restrict the ability to upload files of defines types to the system.

If no MIME type settings are defines, files of any type can be uploaded.

To start managing MIME type settings, navigate to the File Manager > MIME Type Settings section.

Adding MIME Type Settings

To add a MIME Type setting:

  1. On the MIME Type Setting page, click Add MIME type in the top right corner.
  2. On the Add MIME type page, populate the following fields:
    • MIME Type. The MIME type should consist of a type and a subtype; these are all strings which, when concatenated with a slash (/) between them, comprise a MIME type. No whitespace is allowed: type/subtype. The type represents the general category into which the data type falls, such as video or text. The subtype identifies the exact kind of data of the specified type the MIME type represents. E.g.: image/png
    • Optionally leave a comment in the Comment field. This information is viewable by only the Back Office users.
  3. Select the Is allowed checkbox if you want to allow this file extension to be uploaded to the system.
  4. Once done, click Save.

Editing and Deleting MIME Types

In the Actions column, click one of the following depending on what you need:

  • Edit to edit a setting. Update the attributes and click Save.
  • Delete to delete a setting.

Allowing a MIME Type

There are two ways to allow a MIME type:

  • Select the Is allowed checkbox while creating/editing a MIME type. Select is allowed
  • Select the checkbox in the Is Allowed column on the MIME Type Settings page and click Save. MIME type settings

Tips and tricks If you create a MIME type but do not allow it, no constraints are going to be applied. If you create the MIME types as follows: Tips

Then you will be able to download only the following file types:

  • text/csv
  • application/pdf

The following will be displayed on the File Tree page once you select to upload a not allowed file type: File tree