Overview / Work Notes
View or search may have a large number of objects. When exporting these from M-Files Desktop, the server-side limit may be encountered and all the objects in the search or view are not necessarily exported. However, the number of exported items can be modified with the client-side registry setting to override this server-side limit.
Solution / Workaround
The following client-side registry setting defines the maximum limit for exported value:
| Key | HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Client\MFStatus |
| Value name | MaxResultsCountForExport |
| Value type | REG_DWORD (32-bit value) |
| Description | Sets the maximum limit for the exported objects. Limits the exported amount, no matter how much is allowed to be seen in the view. |
| Value data | NNN (default = 0, which means that the server will use the default maximum for results) |
The limit is either view- or virtual-folder-specific, meaning that if "MaxResultsCountForExport = 500", then at most 500 objects can be exported from the view/folder. If the current view, for example, contains 10 views or folders, the total maximum object count is 10 * 500 = 5000.
The setting will take effect without any user action. Logout and login back to the vault or M-Files client restart is not needed.
If this registry setting is not set (or set to 0) and Advanced Vault Setting - Configuration > Search > "Maximum Number of Search Results from Server" is set 0 (no limit), M-Files will follow Advanced Vault Setting - Configuration > Client > Classic Desktop > Listing > "Objects per Group in Views", or Advanced Vault Setting - Configuration > Client > Web and New Desktop > CSV Export > "Maximum Number of Items for CSV Export", which limits the exported objects.
Another possibility to increase the amount of exported items in the view is the raise this value and not set MaxResultsCountForExport registry setting at all.
Notes:
- Increasing the setting "Objects per Group in Views" value too high may cause performance issues in the vault.
- Exporting a large amount of content at once via client-side export functionality may be slow. If there are a large number of objects to be exported, replication could be used.
