问题
I have added custom document property "TemplateId" from server and in task pane app when the document opens I want to fetch this custom document property (see image) using OfficeJs.
(using OfficeJs version 1.1)
回答1:
There currently no OfficeJS APIs that allows you to read custom document properties. However, feel free to request one on the Office Extensibility Platform's UserVoice.
Gabriel Royer - Developer on the Office Extensibility Team, MSFT
来源:https://stackoverflow.com/questions/34018412/how-do-i-fetch-read-custom-document-properties-using-officejs-in-a-task-pane-app