Insert link to item

  • Thread starter Thread starter Peter Marchert
  • Start date Start date
P

Peter Marchert

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!
 
Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment
 
Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "<Outlook:\\Test\Test\Tasks\Test>" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "<Outlook:\\Test\Tasks\Test>", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.
Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


Peter Marchert said:
Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung
 
Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\<entryID>

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


Peter Marchert said:
Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "<Outlook:\\Test\Test\Tasks\Test>" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "<Outlook:\\Test\Tasks\Test>", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.
Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


Peter Marchert said:
Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung
 
Thank you very much, Eric, that works very good!

Peter
Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\<entryID>

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


Peter Marchert said:
Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "<Outlook:\\Test\Test\Tasks\Test>" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "<Outlook:\\Test\Tasks\Test>", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.
Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung
 
.... any folder in the default information store. It will work for other stores only after they've been accessed once during the current session.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Eric Legault said:
Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\<entryID>

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


Peter Marchert said:
Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "<Outlook:\\Test\Test\Tasks\Test>" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "<Outlook:\\Test\Tasks\Test>", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.
Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung
 
Thanks for this hint, Sue.
... any folder in the default information store. It will work for other stores only after they've been accessed once during the current session.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Eric Legault said:
Here's a better approach I just remembered: use the unique EntryID property
value of the item. You can get this with code (for an open item, check
Application.ActiveInspector.CurrentItem.EntryID) or quickly using OutlookSpy
(http://www.dimastr.com). It would use this format:

outlook:\\<entryID>

e.g.

outlook:\\00000000C536D3A3B6579440AAB39F0A2064281E84EA2400

Works for any loaded .pst in any folder.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


Peter Marchert said:
Thanks Eric for your answer.

Yes, I want only to insert a link to an existing object (for example a
taskitem), not to embedd the item. I thougt it could solved like an
icon with a shortcut (so you see it, if you do this manualy), but a
text-link would be ok too.

I tried "<Outlook:\\Test\Test\Tasks\Test>" (without quotes), but this
does not work. If I klick on the link there pops up a message like "The
selected folder or item cannot be shown". In the help is something
wirtten of spaces in the link but there are no spaces and all folders
exists.

First "Test" is a pst-file, second "Test" is a folder for mailitems,
"Tasks" is a folder for taskitems and the last "Test" is a taskitem
with subject "Test".

Now I tried "<Outlook:\\Test\Tasks\Test>", but it is still the same
message.

What could be another reasen for this message?

Thanks, Peter.

PS: I stop working for this day and for tomorrow. If you reply I give
you a feedback in aproximatly 36 hours.

Eric schrieb:

Do you want an embedded item or a hyperlink?

For the latter, try inserting a string like the following in the Body
property:

Outlook:\\MailboxName\Inbox\MessageSubject

For an embedded item:
- use RDO (http://www.dimastr.com)
- save the item you want to embed as an .msg file first, then add it as an
attachment

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


:

Hello,

now I searched 1 or 2 (or more) hours for a solution and didn`t find it
:-(.

Perhaps I only did not find the right post, so it will be fine if some
body gives me a link to it.

The problem: If you have an item (for example an appointmentitem) you
can insert a link in the body to a taskitem. That`s it what I want to
do by code.

Thanks in advandce for any help!

--
Peter Marchert
[EDV-Service Marchert]
Homepage: http://www.marchert.de
Excel- und Outlookprogrammierung
 
Back
Top