Accessing shared notebooks pages and sections for Onenote for business acoount

时光怂恿深爱的人放手 提交于 2019-12-11 04:14:52

问题


I am integration onenote with my application. I am using below mentioned API to retrieve all notebooks that a user can potentially access to.

https://graph.microsoft.com/v1.0/me/onenote/notebooks?includesharednotebooks=true

I am able to retrieve all the notebooks owned by me and shared with me. The problem is in case on business account I am not able to further access the pages and sections which are inside shared notebooks. For all owned notebooks I can still access the pages and sections. How I can resolve this issue ?

This is a blocker for me. Kindly revert


回答1:


Have you tried accessing the notebooks by site?

  1. Call the API
  2. For any given notebook that doesn't belong to the owner, look for the site id given the site URL
  3. Use that site id to do a ~sites/id/notes/... request

In Graph, you might be able to look up the site by keyword. Example:

https://graph.microsoft.com/v1.0/sites?search=contoso


来源:https://stackoverflow.com/questions/46440803/accessing-shared-notebooks-pages-and-sections-for-onenote-for-business-acoount

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!