Overview
As default the External file sources using the 'Link files' only keeps the latest file version in M-Files. Therefore, the old versions cannot be opened from the history view and undelete is not possible.
Solution
To preserve the old file data versions for files maintained in external file source, apply the following registry value in Windows Registry:
| Registry Key | HKLM\Software\Motive\M-Files\<version>\Server\MFServer\VaultOptions\{vault-GUID}\ |
| Value Name | PreserveLinkedFileCopy |
| Value Type | REG_DWORD |
| Value data | 0 = do not preserve linked file copies (default) 1 = preserve linked file copies |
After setting this registry vault restart is needed. Please notice, this would only have effect on the new changes and old versions would still not be accessible. Also, the rollback operation from history view is not supported for documents that use external linked files, even if this registry is defined.
