Office Add-in does not support Office URI on Mac

Copper Contributor

https://docs.microsoft.com/en-us/office/client-developer/office-uri-schemes describes how a URI can be used to open documents from a URL (e.g., OneDrive) in Office.

 

I'd expect this to work in an Office Add-in which it partly did but not on macOS, tested with PowerPoint for Mac 16.61 (22042403) on macOS 12.3.

 

I tried it with these links

 

 

<a href="ms-powerpoint:ofe%7Cu%7Chttp://download.microsoft.com/download/6/4/5/6457fca2-83d4-4cfa-8a28-d247dcbdd464%2FUnit%20Testing.pptx">Open</a>
<input type="button" value="Test" onclick="window.location.replace('ms-powerpoint:ofe%7Cu%7Chttp://download.microsoft.com/download/6/4/5/6457fca2-83d4-4cfa-8a28-d247dcbdd464%2FUnit%20Testing.pptx'); return false;" />

 

 

These work in an Office Add-in on Windows and also in Safari. But they have no effect when used in an Office Add-in on macOS.

0 Replies