user16279382
user16279382

Reputation: 11

Outlook Add-in: Failed to Open .docx File in MS Word from iFrame Due to URL Scheme Error

I'm developing an Outlook add-in where I need to open a .docx file stored on a cloud server directly in Microsoft Word, specifically in edit mode. The process involves the following steps:

  1. I open an iframe within the Outlook add-in.
  2. In the iframe, I select the .docx file stored on a cloud server.
  3. After selecting the file, a dialog opens with a blank screen.

The issue arises with the following error in the console log of the new dialog:

Failed to load resource: Redirection to URL with a scheme that is not HTTP(S)

The URL causing the issue is in the following format:

ms-word:ofe%7Cu%7Chttps://<Url of the document in cloud server>

It seems that the ms-word protocol is not being handled correctly, leading to the dialog opening blank.

What I've Tried:

Questions:

Any insights or suggestions on resolving this issue would be greatly appreciated!

Upvotes: 1

Views: 21

Answers (0)

Related Questions