You can specify which file types are allowed for ticket attachments. Then users can only attach files of these types to the tickets.
Required configuration key:
-
File types for ticket attachments (AttachmentFileTypes): Specifies which file type are permitted for ticket attachments.
To configure file types for ticket attachments
-
Log in to the Administration Portal (see Logging in to the Administration Portal).
-
In the navigation, click Configuration.
-
On the Configuration page, in the Show configuration for the following API project menu, select the Web Portal API project.
-
Expand the File types for ticket attachments configuration key.
-
You can perform the following actions:
-
To add a file type, click New and enter the file type in the format .<file extension> (such as .png).
-
To change an existing file type, click in the corresponding input field and change the value.
-
To remove an existing file type, next to the relevant file type, click (Delete).
-
-
Click Apply.
-
Perform one of the following actions:
-
If you want to apply the changes locally only, click Apply locally.
-
If you want to apply the changes globally, click Apply globally.
-
-
Click Apply.