Configure Allowed File Types for Document Management
ADOIT allows the import and management of external files in the database (DMS functionality). If this functionality is deactivated, references to files in the file system can be created instead. For both of these purposes, you can define a whitelist of file extensions. Only file types that are specified in the whitelist may be uploaded or referenced.
For security reasons, only a very restricted set of file types may be added to the whitelists by default. To configure what file types are eligible, you need to customize a configuration file. In order to do so:
Open the folder “<Tomcat installation>/webapps“ and open the file
ADOIT14_0.warwith a file archiver. Edit the file
WEB-INF/web.xmlwhich can be found inside.
In both of the following sections, the parameter <param-value> specifies a comma separated list of allowed file types. Change the value of this parameter in these sections as needed. Save the changes afterwards.
<context-param> *<description>Extensions allowed for uploading
xml,bpmn</param-value>* </context-param> ::: Section 2: :::title :::
<servlet-name>View Upload Servlet</servlet-name>
The ADOIT web application running on the web server has to be restarted if these settings are changed. Otherwise the changes will not become effective.