Office JS window.open from taskpane opens url inside taskpane instead of new tab in Office online

Miikka Laakso 41 Reputation points
2023-02-23T08:10:38.2133333+00:00

Previously using javascript window.open launched new tab/window from online/desktop (Word, Excel, PowerPoint). This behaviour is now changed so that url is opened inside taskpane, which is not desired.

If I open url with Office document, following happens

  • document is opened in new tab
  • document is also opened in taskpane (loading new online office instance inside taskpane)

window.open from desktop works as before (correctly)

Chrome: 110.0.5481.105 (64-bittinen)

Online word: 16.0.16213.41019

Microsoft 365 and Office Development Office JavaScript API
Microsoft 365 and Office Development Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Miikka Laakso 41 Reputation points
    2023-02-23T08:20:51.9533333+00:00

    Couldn't reproduce with scriptlab, not an office bug

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.