We are developing an App for Office (Outlook) with some hyperlinks. Clicking on these links actually opens up URL in browser (IE by default). But while opening the browser we are running into following issue:From Outlook app, when we click on the hyperlink which has window.open('url','_blank'), it opens in a new IE window , but it does not look like a normal IE window with all features. It doesn't show menu bar, task bar, etc., In addition to this we cannot even open any new tabs in this window. It seems it treats it as a popup as shown below:
We even tried out adding other parameters to window.open like following:
window.open('url','_blank',"menubar=1,statusbar=1,toolbar=1");
But even with above, there was no different in the way browser loads.
Additional Information:
As this an Outlook app, we need to enable cross domain call via CORS. Outlook app is pointing to Domain1 where as the URL which we are trying to open in browser via Hyperlink is Domain2. In our app manifest file we are having both Domain1 and Domain2 as allowed domains for communication.
Now from out outlook app when we try to load Domain3 URL which is not present in our allowed domain list, it renders browser just fine.
With this we are unsure if there is anything related to CORS calls with IE rendering. It would be great if we get some pointers.