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 defined types to the system.

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

Prerequisites

To start managing MIME type settings, navigate to Administration > MIME Type Settings.

Adding MIME Type Settings

To add a MIME type setting:

  1. On the MIME Type Setting page, in the top right corner, click +Add MIME type.
  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, i.e., 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. 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 MIME types

There are two ways to allow a MIME type:

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

Tips & 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