Specifying PDF conversion limitations for indexing and file preview
You can use the settings given here to change the file size and conversion time limits for PDF conversions done for indexing and file previews. Size limits are configurable for the previews in the classic M-Files Desktop only. Indexing is not client-specific, so all limits affect it.
Supported file formats for preview
The file preview supports these file formats:
- Email files (eml, emlx, msg)
- HTML and web archive files (htm, html, mht, mhtml)
- Image files (tif, tiff, jpg, jpeg, bmp, gif, png)
- Microsoft Word files (docx, docm, dotx, dotm, doc, dot)
- Microsoft Excel files (xlsx, xlsm, xltx, xltm, xlsb, xls, xlt)
- Microsoft PowerPoint files (pptx, pptm, ppsx, ppsm, potx, potm, ppt, pps, pot)
- OpenDocument files (odt, ott, ods, odp)
- PDF files
- RTF files
- Text files (txt)
- Visio drawings (vsdx, vsx, vtx, vdx, vssx, vstx, vsdm, vssm, vstm, vdw, vsd, vss, vst)
- Video files (mp4, webm, ovg)
- Audio files (mp3, ogg, wav)
- CAD files (dwg, dxf, dwt, dgn)
Previews for CAD files do not include external references. See CAD file previews.
How the limits work
- M-Files converts a file to PDF before it shows a preview. Because of this, the preview in the classic M-Files Desktop and the advanced preview in M-Files Web and the new M-Files Desktop are subject to PDF conversion size and format limits.
- For PDF files, size limits apply only when M-Files must convert the file.
For example, conversion is required in these cases:
- Read-only access is used.
- Printing or downloading is prevented.
Limits by client
In these instructions, the "preview" term and limits apply as specified in this table:
| Clients | "Preview" refers to | Configurable limits |
|---|---|---|
| Classic M-Files Desktop | Preview | Indexing: All limits; Preview: All limits |
| M-Files Web and the new M-Files Desktop | Advanced preview (instead of basic preview) | Indexing: All limits; Preview: Conversion time limits only |
Where the limits do not apply
The limits are not used in these contexts:
- PDF Processor module of M-Files Compliance Kit
- PDF conversion caused by a workflow state
- PDF conversion done in an M-Files client
Default file size limits
These are the default settings for the maximum size of the source file by file type:
- Email file: 10 MB
- Microsoft Excel file: 10 MB
- Image file: 100 MB
- PDF file: 10 MB
- Microsoft PowerPoint file: 10 MB
- Microsoft Visio file: 10 MB
- Microsoft Word file: 25 MB
- CAD file (such as DWG): 50 MB
CAD file previews
The preview of a CAD file is the file converted to PDF on the server. M-Files converts each CAD file on its own, so the preview does not include external references such as referenced files.
Default conversion time limit
The default maximum processing time is 120 seconds.
Changing the file size limits
Changing the conversion time limit
-
- Expand and change the value of PDF Conversion Timeout.
- Select Save.
-
Use Windows Task Manager to restart the MFServer
service: