<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : MAPI and CustomProperties</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : MAPI and CustomProperties]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:09:20 +0000</pubDate>
  <lastBuildDate>Mon, 28 Aug 2006 17:22:02 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=4892</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[MAPI and CustomProperties : Thanks Serge,  I&amp;#039;ll be...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15290&amp;title=mapi-and-customproperties#15290</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2269">zeko78</a><br /><strong>Subject:</strong> 4892<br /><strong>Posted:</strong> 28 August 2006 at 5:22pm<br /><br />Thanks Serge,<DIV>&nbsp;</DIV><DIV>I'll be experimenting with custom DataProvider for&nbsp;a while, so no immediate need for&nbsp;a fix.</DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV><DIV>Gøran</DIV>]]>
   </description>
   <pubDate>Mon, 28 Aug 2006 17:22:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15290&amp;title=mapi-and-customproperties#15290</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and CustomProperties : Should be avalable in a nearest...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15258&amp;title=mapi-and-customproperties#15258</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4892<br /><strong>Posted:</strong> 28 August 2006 at 5:11am<br /><br />Should be avalable in a nearest couple of weeks (10.3.1).<br><br>Contact support (www.codejock.com/support) if you'd like to get a fix earlier.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 28 Aug 2006 05:11:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15258&amp;title=mapi-and-customproperties#15258</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and CustomProperties : Hi Serge,   How can I get some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15256&amp;title=mapi-and-customproperties#15256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2269">zeko78</a><br /><strong>Subject:</strong> 4892<br /><strong>Posted:</strong> 28 August 2006 at 3:41am<br /><br />Hi Serge, <DIV>&nbsp;</DIV><DIV>How can I get some kind of uniqe identifier for the event&nbsp;to link my "custom map or array" and the event? The event.id for a particular event changes each time I run the Calendar sample app.</DIV><DIV>&nbsp;</DIV><DIV>The Custom Properties with the MAPI provider is very important to us, and I don't see any way we can use it without...</DIV><DIV>&nbsp;</DIV><DIV>Do you have an idea about when the a new version with support for this will be avilable?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV><DIV>Gøran</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 28 Aug 2006 03:41:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15256&amp;title=mapi-and-customproperties#15256</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and CustomProperties : Hi,Unfortunately, in the current...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15255&amp;title=mapi-and-customproperties#15255</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4892<br /><strong>Posted:</strong> 28 August 2006 at 2:08am<br /><br />Hi,<br><br>Unfortunately, in the current version of the MAPI DataProvider a collection of Custom Properties is not yet supported... <img src="http://forum.codejock.com/smileys/smiley6.gif" border="0" align="middle"> They are not saved correctly into MAPI.<br><br>As a workaround I can recommend you to store your properties in some custom map or array. Also, one of a nearest updates should have updated DataProvider with this functionality fixed.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 28 Aug 2006 02:08:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15255&amp;title=mapi-and-customproperties#15255</guid>
  </item> 
  <item>
   <title><![CDATA[MAPI and CustomProperties : Hi,  I&amp;#039;m trying to set...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15245&amp;title=mapi-and-customproperties#15245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2269">zeko78</a><br /><strong>Subject:</strong> 4892<br /><strong>Posted:</strong> 27 August 2006 at 10:44am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I'm trying to set (and save) a custom property with each event, using the MAPI dataprovider.</DIV><DIV>&nbsp;</DIV><DIV>I've added a button to the Calendar sample app with the following code:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CalendarEvents events = frmMain.Instance.wndCalendarControl.DataProvider.GetAllEventsRaw();</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; events.Count; i++) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageBox.Show(events&#091;i&#093;.Id.ToString() + ": " + events&#091;i&#093;.Subject + "\n" + events&#091;i&#093;.CustomProperties&#091;"PowerOfficeGUID"&#093;);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String propVal = events&#091;i&#093;.CustomProperties&#091;"PowerOfficeGUID"&#093;.ToString();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (NullReferenceException) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageBox.Show("CustomProperties.Count=" + events&#091;i&#093;.CustomProperties.Count.ToString());</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; events&#091; i&#093;.CustomProperties&#091;"PowerOfficeGUID"&#093; = events&#091;i&#093;.Id.ToString(); //Just some data, will be&nbsp;something else&nbsp;in real life app<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.Instance.wndCalendarControl.DataProvider.ChangeEvent(events&#091;i&#093;);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MessageBox.Show("CustomProperties.Count=" + events&#091;i&#093;.CustomProperties.Count.ToString());<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.Instance.wndCalendarControl.DataProvider.Save();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.Instance.wndCalendarControl.Populate();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.Instance.wndCalendarControl.RedrawControl();<BR></DIV><DIV>&nbsp;</DIV><DIV>However, after running through this code the new properties isn't there.</DIV><DIV>&nbsp;</DIV><DIV>The messageboxes showed that a property was added, but when running the code again, the CustomProperties.Count shows zero again.</DIV><DIV>&nbsp;</DIV><DIV>I'm simply not able to get the new CustomProperty to "attach" to the event.</DIV><DIV>&nbsp;</DIV><DIV>What am I missing? How do I save the customproperty after adding it to the event?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV><DIV>Gøran</DIV>]]>
   </description>
   <pubDate>Sun, 27 Aug 2006 10:44:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4892&amp;PID=15245&amp;title=mapi-and-customproperties#15245</guid>
  </item> 
 </channel>
</rss>