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 Off
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