2

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)

Gab Royer
  • 9,587
  • 8
  • 40
  • 58

1 Answers1

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

Gab Royer
  • 9,587
  • 8
  • 40
  • 58
  • This is no longer true. See this answer https://stackoverflow.com/questions/44788002/word-add-in-how-to-read-custom-document-property – z-boss Jul 20 '17 at 14:22