How set onenote page as read only using onenote API

偶尔善良 提交于 2019-12-11 18:28:06

问题


I am using onenote graph API to create and update notebook,sections,pages.

Know i want to make onenote page as read only using Onenote Graph API.

Please suggest PATCH or POST Request url to set onenote page as read only


回答1:


I think the only effective way of doing this is by creating a view only link to the Notebook.

The OneNote API only allows this for section groups as described at "Create sharing links on OneNote entities"

POST ../sectiongroups/{id}/GetOrCreateAnonymousSharingLink with {"accessLevel":"View"}

Please see the post "Sharing OneNote Notebook through API" for a different approach (using OneDrive sharing) to try and share either a whole notebook or just notebook section.



来源:https://stackoverflow.com/questions/50369351/how-set-onenote-page-as-read-only-using-onenote-api

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