This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Description
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 }