Overview
After M-Files August '22 Update, the inserted M-Files properties that are no longer referenced in a Microsoft Office file are removed when the file is saved. To do this for Excel files, M-Files Office Add-in goes through all the names that start with "MFiles_". You can see the names of an Excel file with Name Manager (Ctrl+F3). If there are a lot of M-Files names, the operation can take a long time.
Solution
In M-Files November '22 Update, two new Windows registry settings were introduced to control how many M-Files names can be checked during the save operation:
| Registry Key: | HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client\MFOfficeAddin | |
| Value Name: | NameCleaningLimit | |
| Value Type: | REG_DWORD | |
| Description | Specifies the maximum number of M-Files names that are checked when you save an Excel file. | |
| Valid Values: | ≤0 | No limit. |
| >0 | Name checking is stopped when the specified number of M-Files names is reached. | |
| Registry Key: | HKEY_CURRENT_USER\SOFTWARE\Motive\M-Files\<version>\Client\MFOfficeAddin | |
| Value Name: | SkipIfLimit | |
| Value Type: | REG_DWORD | |
| Description | Specifies, whether the whole name checking operation is skipped if the number of M-Files names exceeds the limit specified in NameCleaningLimit. | |
| Valid Values: | ≤0 | No limit. |
| >0 | Name checking is skipped if there are more M-Files names than specified in NameCleaningLimit. | |
