Add a shortcut to a folder in the task body

S

Sanjay Singh

It is possible to add a shortcut to an e-mail folder (that resides in the
same PST) in the body of a task by
dragging and dropping the folder on to the task body.

Is it possible to do this in code?

I looked at the properties of the attachment object created and it isn't
clear where the actual pointer to the folder is saved.

Any ideas wuld be great.

Thanks
Sanjay
 
E

Eric Legault [MVP - Outlook]

You can use the "outlook://" URL prefix, but I don't know how to get
something similar to work for delegated users:

outlook://Inbox
outlook://Contacts

I can't get it to work for sub-folders either. For Public Folders, you'd
use this path:

outlook://Public%20Folders/All Public%20Folders
 
S

Sanjay Singh

That only seems to work for default folders

As you noted it does not work for sub-folders or even top level folders
that you have created yourself (e.g. I created a folder called settings but
could not get the shortcut to work)

It is possible to drap and drop folders to the task and then the shortcut
works but I would love to be able to do this in code.

Any other ideas from anyone.

Regards
Sanjay
 
Top