Skip to content

page.analyzePage() returning value as null  #58

@harsh-thoriya

Description

@harsh-thoriya

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 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions