1
Background
I'm building an Excel webapp using the Javascript API for Office, and in the webapp I have links to MS Outlook using the Outlook Protocol. Example link:
<a title="outlook:Inbox/Projects/Current/ExampleProject" href="outlook:Inbox/Projects/Current/ExampleProject" target="_blank">ExampleProject</a>
I am running Outlook 2013, in which the protocol has officially been depreciated. It still works when one adds a registry key, though:
This opens a new instance of Outlook 2013 when the link is clicked on.
Question
What I'd like it to do is to being the currently running instance up and change the view to the correct folder, instead of always starting a new instance. Is that possible?
Edit
G-Man was able to solve the multiple instance problem by suggesting /recycle
in the Registry key. Now the only issue I have is that when I click the link it opens an instance of IE11 before changing the Outlook view, and that IE instance doesn't close afterwards.
Edit 2
To bypass the extra IE instance, I just needed to remove the target="_blank"
. And we have success!
1Have you tried looking at additional command-line options for Outlook (to use in the command in the Registry string), such as
/recycle
? – G-Man Says 'Reinstate Monica' – 2014-10-30T22:10:13.933I haven't. The command line is an area in which I'm very inexperienced. – Andy Mercer – 2014-10-30T22:14:38.237
That's it! I placed
/recycle
in front of/select
and it works! Brilliant! – Andy Mercer – 2014-10-30T22:20:35.277