![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I programmatically add a user property to an appointment before I send it to
a recipient. This is done via a Windows Form (using VSTO) launched from an Outlook tool bar. appointment.UserProperties.Add("ExamplePropertyNam e", Outlook.OlUserPropertyType.olText, true, Outlook.OlUserPropertyType.olText); appointment.UserProperties["ExamplePropertyName"].Value = "ExamplePropertyValue"; appointment.Save(); However, the user property is not propagated to the recipient. I am wondering if it is related to this KB article: http://support.microsoft.com/kb/907985 But adding custom properties programmatically is listed as a best practice and I am not using Outlook forms at all. Do I have to use the AllowNamedProps registry key as well? |
Ads |
#2
|
|||
|
|||
![]()
The problem with appointments is that when you send a meeting
request/updatee, Outlook creates a meetign request item 9separate from teh appointment), populates the properties that it knows about, and then sends it. The original appointments stays in teh Calendar folder. Since it knowns nothing about your custome properties, it does not copy them to the mettign request/update. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Tadwick" wrote in message ... I programmatically add a user property to an appointment before I send it to a recipient. This is done via a Windows Form (using VSTO) launched from an Outlook tool bar. appointment.UserProperties.Add("ExamplePropertyNam e", Outlook.OlUserPropertyType.olText, true, Outlook.OlUserPropertyType.olText); appointment.UserProperties["ExamplePropertyName"].Value = "ExamplePropertyValue"; appointment.Save(); However, the user property is not propagated to the recipient. I am wondering if it is related to this KB article: http://support.microsoft.com/kb/907985 But adding custom properties programmatically is listed as a best practice and I am not using Outlook forms at all. Do I have to use the AllowNamedProps registry key as well? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
print preview and user properties... | wes2 | Outlook and VBA | 1 | December 2nd 08 04:31 PM |
MailItem User Properties not updating | rob_tt08[_2_] | Add-ins for Outlook | 0 | November 10th 08 05:43 AM |
User properties search | Andy DeFilippo | Outlook - Using Forms | 0 | October 22nd 07 03:26 PM |
copy item with user properties | Lucia | Outlook and VBA | 4 | June 1st 07 11:34 AM |
Outlook 2003- named properties v/s user properties ? | newToOutlookProgramming | Add-ins for Outlook | 2 | May 18th 07 07:38 PM |