The user must authenticate against graph using the same credentials for the drive they're saving against. ![]() Please keep in mind, users can save documents to both OneDrive and OneDrive for Business. To create a task: Add a new comment or reply to an existing comment. If you reopen the document in Word for the web, the task is visible again and you can interact with it. To find this document you would execute the following Graph command:Īll of this can be executed directly from within your add-in. For example, if you assign a task in Word for the web and later open the document in Word for the desktop, youll see the comment, but not the task. ![]() It is stored in the directory Documents.This is consumer OneDrive (note the URI).You can then use query filters on the Drive's Children method to isolate the specific file you're looking for.įor example, if you had a URI of you can determine the following: You'll need to parse the document name and path from the URI. ![]() My Word online version does not include the Reference tab. Once you have a saved file, you can get the URI using getFilePropertiesdAsync. I would like to use Word online to create academic articles, and I need to include references. There isn't a way to do this using just Office.js, you'll need to also leverage Microsoft Graph in order to find the actual ID.
0 Comments
Leave a Reply. |