Skip to main content
Version: 15.1

Configure Allowed File Types for Document Management

ADOIT allows the import and management of external files in the database (DMS functionality). For this purpose, you can define a whitelist of file extensions. Only file types that are specified in the whitelist may be uploaded.

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 ADOIT15_1.war with a file archiver. Edit the file WEB-INF/web.xml which 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.

Section 1:


::: <context-param> <description>Extensions allowed for uploading files</description> <param-name>allowedExtensions</param-name> *<param-value>doc,docx,ppt,pptx,xls,xlsx,csv,txt,pdf,rtf,png,jpg,gif,jpeg,bmp,zip,rar,7z,axr,

Section 2:

tip xml,bpmn</param-value>*</init-param>...</servlet> ::: <servlet> <servlet-name>View Upload Servlet</servlet-name> <servlet-class>com.boc.axw.core.upload.ViewUploadServlet</servlet-class> <init-param> <param-name>allowedExtensions</param-name> *<param-value>doc,docx,ppt,pptx,xls,xlsx,csv,txt,pdf,rtf,png,jpg,gif,jpeg,bmp,zip,rar,7z,axr,


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.