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
When trying to fetch HTML of the whole page in onenote add in, analyzePage() returning value as null.
Here's a code snippet: await OneNote.run(async (context) => { const page = context.application.getActivePage(); return context .sync() .then(async function () { console.log(page.analyzePage()) }) })
Here's what it logs in console: { m_isLoaded:true, m_type:0, m_value:null, value:null, [[Prototype]]:Object }
The text was updated successfully, but these errors were encountered:
When trying to fetch HTML of the whole page in onenote add in, analyzePage() returning value as null.
Here's a code snippet:
await OneNote.run(async (context) => { const page = context.application.getActivePage(); return context .sync() .then(async function () { console.log(page.analyzePage()) }) })
Here's what it logs in console:
{ m_isLoaded:true, m_type:0, m_value:null, value:null, [[Prototype]]:Object }
The text was updated successfully, but these errors were encountered: