File Configuration

Last Updated: Oct 14, 2021
documentation for the dotCMS Content Management System

You may configure dotCMS to limit both the size and types of files uploaded.

File Size Limits

There is no global property to limit the maximum size of all files uploaded. However every Content Type with a Binary field (including all File Asset and dotAsset Content Types) can be configured to limit the maximum file size allowed for the Content Type. For more information, please see the Binary Field documentation.

File Type Limits

There is no global property to limit the types of files which can be uploaded. However every Content Type with a Binary field (including all File Asset and dotAsset Content Types) can be configured to limit the types of files allowed for the Content Type, based on the MIME type of the uploaded file. For more information, please see the Binary Field documentation.

Limiting Metadata Indexing

When files are uploaded into dotCMS, the file metadata is always included. However only the metadata fields you explicitly choose to index are indexed, and thus searchable within dotCMS. Which metadata fields are indexed is controlled by the INDEX_METADATA_FIELDS property in the dotmarketing-config.properties file.

For more information on metadata indexing, please see the How Content is Mapped to Elasticsearch documentation.

On this page

×

We Dig Feedback

Selected excerpt:

×