InfiniTec - Henning Krauses Blog

Don't adjust your mind - it's reality that is malfunctioning

Creating meeting requests with WebDAV and Outlook in Cached mode

Under the support article KB308373, Microsoft had an example on how to create a meeting request for a meeting with WebDAV. Unfortunately, they have removed this article. Bascially, the process is like this:

  1. Create a meeting item in the calendar folder
  2. Create a messge item with the Outlook Message class of IPM.Schedule.Meeting.Request and a DAV:contentclass of urn:content-classes:calendarmessage. Then, copy all appointment related properties from the appointment to the meeting request item.
  3. Save the request message to the drafts folder of your mailbox.
  4. Move the message from the drafts folder to the ##MailSubmissionUri## folder.

This works in principle - unless you are using Outlook in cached mode. In this case, Outlook won't find the appointment which corresponds to the meeting request. Depending whether Outlook is in online or cached mode, it uses two different properties to find the appointment connected to a request: The global object id (http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/0x3) and a cached version of the global object id (http://schemas.microsoft.com/mapi/id/{6ED8DA90-450B-101B-98DA-00AA003F1305}/0x23). More information on the global object id can be found here. The global object id is set by Exchange. The other object id seems to be created by Outlook only.

So, if you create a meeting request via WebDAV and don't set the second object id, Outlook in cached mode will not find your appointment entry.

One solution to this problem is to reload the appointment after step 1 and load the global object id. Then, set the second global object id to the value of the first. And add the global object id to the properties of the meeting request.


Technorati:

Posted by Henning Krause on Monday, July 2, 2007 12:00 AM, last modified on Monday, February 28, 2011 10:21 AM
Permalink | Post RSSRSS comment feed

Comments (1) -

On 2/28/2011 10:21:06 AM Mathew India wrote:

Mathew

Hi

I am new to WEBDAV technology.Can you please help me in creating a meeting request using webdav. Thanks in advance

Thanks
Mathew