Overview / Work Notes
Previewing of documents offers a powerful feature of quickly viewing the document without having to first open it or checking it out for editing. In some cases disabling this feature may become desired if retrieving documents for preview turns out to perform too slow for convenience. Preview can be disable in a few different ways explained here.
Solution / Workaround
Hiding of the right-hand side pane completely is possible via the main menu by first pressing the Alt key and then clicking on the menu selection under View -> Right pane -> Off. Note that with this the metadata card pane will also be hidden.
PDF conversion is used in the preview component for search keyword highlighting when browsing through documents in search results. There is an option to have M-Files preview to use Windows default previewer instead of the PDF converter although this disables hit highlighting. Instructions for enabling this change is explained at https://m-files.force.com/s/article/How-to-change-M-Files-preview-to-use-local-default-previewer
It is possible to prevent preview of files with specific file extension. A Windows Registry entry needs to be added with the following details. In this example entry DWG file previewing would be prevented:
Path: HKEY LOCAL MACHINE\SOFTWARE\Motive\M-Files\<version>\Client\Common\NonVaultSpecifics\PreviewHandlers\.dwg
Key: EnablePreviewing
Data type: REG_DWORD (DWORD 32-bit Value)
Value: 0)
If the key does not exist, it needs to be created manually. <version> in the key path need to correspond to the installed M-Files version number. Please note that modifying the Windows registry may potentially harm the system if unintended modifications are made to other than M-Files related keys.
Finally, the user interface can be customized by utilizing the User Interface Extensibility Framework. This is an extension for modifying some parts of the interface and allows for hiding the Preview tab. All related documentation for this extension is freely available at our Developer portal: https://developer.m-files.com/Frameworks/User-Interface-Extensibility-Framework/
