A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Propagating User Properties to Recipients



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 18th 09, 08:11 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default Propagating User Properties to Recipients

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  
Old June 19th 09, 08:57 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Propagating User Properties to Recipients

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:47 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-2025 Outlook Banter.
The comments are property of their posters.