Search code examples
office365outlook-addinoffice-jsoutlook-api

Outlook Javascript API - open external web page


Quick question about the new Outlook Javascript based API - I wan't to open an external web page, obviously window.open does the job very well.

It works on Outlook Web, but on desktop, it looks like the browser opened is tied to the appointment in which the add-in is displayed - when I close the window in Outlook, the browser get closed as well. Any tips how I could avoid that?


Solution

  • Outlook Addin provides API called getDisplayDialogAsync()

    The browser window opened from Outlook is tied to the appointment / mail . It is expected that the window will be closed as user switches out of the mail or closes the appointment window. It is an expected behaviour.