You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OneNote Pages not being returned using contentUrl #107
I have tried using the page.contentUrl to return the page content using the client get command and the getStream to no avail. I would appear the get command the result is undefined while the getstream just produces an empty file when trying to write the stream to file.
Activity
muthurathinam commentedon Sep 10, 2018
Thanks for reporting this issue. will look into this.
876747
juniorfoo commentedon Dec 22, 2018
Setting the response type to TEXT should do it for you.
client.api(ms_page.contentUrl).responseType(ResponseType.TEXT).get();muthurathinam commentedon Jan 23, 2019
Sample code to download OneNote content (Assuming you have OneNote pages):
Fixed in this release: https://github.com/microsoftgraph/msgraph-sdk-javascript/releases/tag/1.4.0