Overview
This document describes updating metadata automatically into Word and Excel documents before PDF conversion. It is possible to add metadata properties to Microsoft Word, Microsoft Excel, and Microsoft PowerPoint documents with the M-Files for Microsoft Office plugin. The Microsoft Office plugin is included in the M-Files Desktop installation package. For more information on this feature, see reference documents.
Solution
Set the setting "Update Embedded Metadata Before Event Handlers" to "Yes". This setting can be found from M-Files Admin -> Expand Document Vaults -> Expand a vault -> Click Configurations -> Click Advanced Vault Settings -> Expand Configuration tab ->Click File Operations.
Note: If you set this to "Yes", there might be a negative impact on performance. This is because then the metadata is usually updated twice – before and after the event handler execution.
Reference Documents
https://userguide.m-files.com/user-guide/latest/eng/Insert_M-Files_property.html
