Localstorage object is different while using openBrowserWindow in word addin

Manognya 1 Reputation point
2021-06-16T06:35:03.377+00:00

I am trying to download a pdf using openBrowserWindow in word addin as office 365 is being used for the addin. I want to access the localstorage value that is set in the addin inside the html page i.e. rendered by openBroserWindow.

It seems like two different localstorage object is created separately for the addin and for html. So the value is null inside the html.

The addin is created by angular and deployed in IIS so both the addin and html are in the same domain.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,497 questions
0 comments No comments
{count} votes