When using URI schemes to open a new document from from a word template hosted on a web page does not work.
https://msdn.microsoft.com/en-us/library/office/dn906146.aspx
The issue just seems to be with my PC. I have tried others and it works fine.
I have office 365 Pro Plus and Visio Professional 2016 installed.
An example of a URI Scheme which opens a new document from a template is the link below.
ms-word:nft|u|https://omextemplates.content.office.net/support/templates/en-us/tf10067038.dotx
I have checked my registry under HKEY_CLASSES_ROOT\ms-word which exists and looks right.
If I run the command below it works correctly
C:\Program Files (x86)\Microsoft Office\Root\Office16\protocolhandler.exe "ms-word:nft|u|https://omextemplates.content.office.net/support/templates/en-us/tf10067038.dotx"
I have also changed key HKEY_CLASSES_ROOT\ms-word\shell\open\command to
cmd /k echo %1
but this does not execute. But if I create a custom uri protocol handler like ms-wordTest then it will execute the shell command.
I now think that for Office products it does not use the uri protocol handler but something at the OS layer is taking control of uri's for office products.
No idea why it does not work on my PC but works on other PCs. Not sure where to look now.
Any help?
Doing a repair of Office 365 Pro Plus has fixed the issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With