Specifying PDF conversion limitations for indexing and file preview

Note: To change these settings, you must be an M-Files system administrator on the server computer.

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.
    M-Files does not convert PDF files for indexing, so the PDF size limit does not affect indexing.

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:

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

These settings affect indexing for all clients and the preview in the classic M-Files Desktop.
  1. In M-Files Admin, go to the Advanced Vault Settings section.
    1. Open M-Files Admin.
    2. In the left-side tree view, expand an M-Files server connection.
    3. Expand Document Vaults.
    4. Expand a vault.
    5. Select Configurations.
    6. In the navigation area, select Advanced Vault Settings.
    7. Open the Configuration tab.
      Result:The advanced vault settings are shown.
  2. Expand PDF Conversion.
  3. Expand a file format.
  4. In Maximum Source File Size, enter the size limit in bytes.
  5. Optional: Specify the other settings for the selected file format.
    For more information, select a setting and see the Info tab.
  6. Select Save.
To apply your changes to the settings:
  1. Use Windows Task Manager to restart the MFServer service:
    1. Open the context menu for the taskbar and select Task Manager.
      Result:The Task Manager window opens.
    2. Open the Services tab.
    3. Open the context menu for the MFServer service and select Restart.

Changing the conversion time limit

This setting affects indexing and the preview in all clients.
  1. In M-Files Admin, go to the Advanced Vault Settings section.
    1. Open M-Files Admin.
    2. In the left-side tree view, expand an M-Files server connection.
    3. Expand Document Vaults.
    4. Expand a vault.
    5. Select Configurations.
    6. In the navigation area, select Advanced Vault Settings.
    7. Open the Configuration tab.
      Result:The advanced vault settings are shown.
  2. Expand File Previews > Viewer Files and change the value of PDF Conversion Timeout.
  3. Select Save.
To apply your changes to the settings:
  1. Use Windows Task Manager to restart the MFServer service:
    1. Open the context menu for the taskbar and select Task Manager.
      Result:The Task Manager window opens.
    2. Open the Services tab.
    3. Open the context menu for the MFServer service and select Restart.