0
votes

When a Office 365 word document is saved it gets stored in a location in sharepoint with a particular ID (a GUID). Is there any property in the office web api which will let me retrieve this document ID?. I do know that Office.js has the method Document.getFilePropertiesAsync which currently returns only the URL of the document. Is there any other method in the Office.js API for retriving document properties.

1

1 Answers

0
votes

Excel workbook and Word document objects have a Properties property, but I don't think that GUID is included. I think you probably going to have to use the SharePoint REST APIs or the Microsoft Graph APIs.