Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Converation Tracking (http://www.outlookbanter.com/add-ins-outlook/70278-converation-tracking.html)

Koen Verwimp April 14th 08 09:45 AM

Converation Tracking
 
Hey !

Is there a way to change the PS_CONVERSATION_TOPIC of a mailitem ? Or is
there a way to set this property before/instead Outlook set this property to
the Subject (without RE/FW)?

We want to change the standard conversation management in Outlook and add a
ticket number to a conversation. The implementation of Conversation Index is
ok, but we want to give the conversation a specific name.

Thank you!
Koen Verwimp

Ken Slovak - [MVP - Outlook] April 14th 08 02:05 PM

Converation Tracking
 
PR_CONVERSATION_TOPIC can be modified, but the corresponding Outlook
property ConversationTopic is read-only. PR_CONVERSATION_TOPIC won't exist
on an item until it's been saved.

I modified PR_CONVERSATION_TOPIC using OutlookSpy and the change took
effect, but the original PR_CONVERSATION_TOPIC was still being displayed by
Outlook even after I exited and restarted Outlook. So you'll have to
experiment and see if changing the property does what you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Koen Verwimp" wrote in message
...
Hey !

Is there a way to change the PS_CONVERSATION_TOPIC of a mailitem ? Or is
there a way to set this property before/instead Outlook set this property
to
the Subject (without RE/FW)?

We want to change the standard conversation management in Outlook and add
a
ticket number to a conversation. The implementation of Conversation Index
is
ok, but we want to give the conversation a specific name.

Thank you!
Koen Verwimp



Koen Verwimp April 14th 08 03:06 PM

Converation Tracking
 
Thank you for replying Ken!

I tried to set the ConversationTopic field with VSTO, but this is a readonly
field. Do you know another way to set this field?

regards,
Koen

MailItem temp = ...
temp.ConversationTopic = ...

ConversationTopic Property:
Returns a String representing the topic of the conversation thread of the
item. Read-only.





"Ken Slovak - [MVP - Outlook]" wrote:

PR_CONVERSATION_TOPIC can be modified, but the corresponding Outlook
property ConversationTopic is read-only. PR_CONVERSATION_TOPIC won't exist
on an item until it's been saved.

I modified PR_CONVERSATION_TOPIC using OutlookSpy and the change took
effect, but the original PR_CONVERSATION_TOPIC was still being displayed by
Outlook even after I exited and restarted Outlook. So you'll have to
experiment and see if changing the property does what you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Koen Verwimp" wrote in message
...
Hey !

Is there a way to change the PS_CONVERSATION_TOPIC of a mailitem ? Or is
there a way to set this property before/instead Outlook set this property
to
the Subject (without RE/FW)?

We want to change the standard conversation management in Outlook and add
a
ticket number to a conversation. The implementation of Conversation Index
is
ok, but we want to give the conversation a specific name.

Thank you!
Koen Verwimp




Ken Slovak - [MVP - Outlook] April 14th 08 04:20 PM

Converation Tracking
 
I said it was read-only using the Outlook object model.

I'd guess it was read-only even if you use the PropertyAccessor object in
Outlook 2007 to try to set the property using the DASL property tag
"http://schemas.microsoft.com/mapi/proptag/0x0070001E".

My guess is if it would work at all you'd have to use an Extended MAPI
wrapper such as Redemption (www.dimastr.com/redemption). I don't know if it
would work the way you want even then.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Koen Verwimp" wrote in message
...
Thank you for replying Ken!

I tried to set the ConversationTopic field with VSTO, but this is a
readonly
field. Do you know another way to set this field?

regards,
Koen

MailItem temp = ...
temp.ConversationTopic = ...

ConversationTopic Property:
Returns a String representing the topic of the conversation thread of the
item. Read-only.



Koen Verwimp April 14th 08 09:02 PM

Converation Tracking
 
Hey Ken,

Redemption solved the problem !

Thanks for helping!
grtz Koen

"Ken Slovak - [MVP - Outlook]" wrote:

I said it was read-only using the Outlook object model.

I'd guess it was read-only even if you use the PropertyAccessor object in
Outlook 2007 to try to set the property using the DASL property tag
"http://schemas.microsoft.com/mapi/proptag/0x0070001E".

My guess is if it would work at all you'd have to use an Extended MAPI
wrapper such as Redemption (www.dimastr.com/redemption). I don't know if it
would work the way you want even then.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Koen Verwimp" wrote in message
...
Thank you for replying Ken!

I tried to set the ConversationTopic field with VSTO, but this is a
readonly
field. Do you know another way to set this field?

regards,
Koen

MailItem temp = ...
temp.ConversationTopic = ...

ConversationTopic Property:
Returns a String representing the topic of the conversation thread of the
item. Read-only.





All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com