Force Outlook Add-in popup to open with embedded browser

Viewed 3092

I'm seeing an issue with my Outlook Add-in (running in Outlook 2016) where when I open a popup window using window.open, it sometimes opens in the user's default browser (e.g. Chrome) instead of the browser running the add-in (e.g. the IE11 web view embedded in Outlook 2016). This is a problem because it prevents the popup window from communicating with the add-in, which is necessary for clickjacking protection.

Is there a way to force the popup window to be opened in the same browser that is running the add-in, without using the Dialog API? I would like to support requirement set 1.3.

2 Answers

As 2022 docs were updated.

The API documentation was moved from dev.office.com (these links don't work anymore) to docs.microsoft.com. And here you will find an example on how to use this api.

Related