Managing MIME type settings
Edit on GitHubThis 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:
- On the MIME Type Setting page, in the top right corner, click +Add MIME type.
- On the Add MIME type page, fill in 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—for example, image/png.
- Optional: In the Comment field, leave a comment. This information is viewable by Back Office users only.
- Select the Is allowed checkbox if you want to allow this file extension to be uploaded to the system.
- 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.
- On the MIME Type Settings page, in the Is Allowed column, select the checkbox and click Save.
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:
Then you can download only the following file types:
- text/csv
- application/pdf
The following is displayed on the File Tree page once you select to upload a not allowed file type:
Thank you!
For submitting the form