Word Add-in - How to read custom document property
问题 I am developing a Word plugin using the Office JS API. Currently I can add custom properties to the Word document by doing: context.document.properties.load(); context.document.properties.customProperties.add("file-name-prop", "my file name"); If I then download the file I can see the property in the "custom.xml" file inside the zipped docx. But I am not able to read the property back. I am trying to do it like this: context.document.properties.load(); var filenameProp = context.document