Configuring the file size of uploaded content management documents

To avoid resource depletion (such as disk space and network throughput) by uploading very large files or files that are not required for the defined use cases, the system administrator can restrict the file size of the uploaded content management documents for the document list coach view.

About this task

The system administrator can add a configurable property called document-attachment-max-file-size-upload to the appropriate 100Custom.xml file to your topology (see the topic Location of configuration files for its location) to limit the file size of the document uploads to a specified value. In the configuration file, the maximum file size must be specified in bytes.
Attention: In addition to limiting the size of uploads for content management, the document-attachment-max-file-size-upload property in the 100Custom.xml file also limits the size of an uploaded file for the Stream tab in Process Portal.

For more information about the 100Custom.xml configuration file, see Setting configuration properties using 100Custom.xml.

Procedure

To limit the file size of the uploaded content management documents, complete the following steps.

  1. Stop the server for Process Server or Process Center.
  2. Locate and open the appropriate 100Custom.xml configuration file in a text editor. See The 100Custom.xml file and configuration.
  3. Edit the 100Custom.xml file as follows, and update the specified file size in bytes as required. As an example, the following code snippet limits the file size of the uploads to 1 megabyte (MB).
    <properties>
        <server>
            <document-attachment-max-file-size-upload merge="replace">1048576
            </document-attachment-max-file-size-upload>
        </server>
    </properties>
  4. Save your changes to the 100Custom.xml file.
  5. Start the server for Process Server or Process Center.
    Alternatively, if you wanted to impose a system-wide restriction to prevent users from uploading documents for any application, you could choose either one of the following options.