Recurring meeting exception request?
From: Hobietje (Hobietje_at_discussions.microsoft.com)
Date: 10/15/04
- Next message: Tom Rizzo [MSFT]: "Re: Exchange Event Sink Read/Unread problem"
- Previous message: Pop_Imap_Pipe: "POP3/IMAP4 Pipelining"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 14 Oct 2004 22:49:06 -0700
Hi Everyone
I am having trouble when I try to change/delete one instance of a recurring
meeting and send a meeting request for this action to the attendees. I got
everything working to update the actual appointment instance, set exdate on
the master, etc. The problem seems to be with the Meeting Request that I
send to the attendees. For some reason Oulook either removes all instances
of the recurring meeting and creates a single meeting for my exception, or
outlook keeps all the recurring meetings (including the one that should be
replaced by my exception) and adds a new single instance meeting for my
exception.
Does anyone know the correct WebDav request to create this meeting request
item that I can send to my attendees? (for both edit/delete of an instance?)
Do I need to send an update for the master item with the exception and then
send a request for the exception? Or how do I get this to work properly with
Outlook and OWA?
Thanks
BTW: I have tried this (including some variations) - this creates a new
seperate appointment instead of an exception:
sqldav = "<?xml version=\"1.0\"?>"
+ "<g:propertyupdate xmlns:e=\"http://schemas.microsoft.com/exchange/\" "
+ "xmlns:g=\"DAV:\" xmlns:c=\"urn:schemas:calendar:\" xmlns:x=\"xml:\" "
+ "xmlns:m=\"urn:schemas:httpmail:\" "
+ "xmlns:header=\"urn:schemas:mailheader:\" "
+ "xmlns:mapi=\"http://schemas.microsoft.com/mapi/\" "
+ "xmlns:dt=\"urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/\" >"
+ "<g:set><g:prop>"
+ "<g:contentclass>urn:content-classes:calendarmessage</g:contentclass>"
+
"<header:contentclass>urn:content-classes:calendarmessage</header:contentclass>"
+
"<e:outlookmessageclass>IPM.Schedule.Meeting.Request</e:outlookmessageclass>"
+ "<m:subject>" + appointment.subject + "</m:subject>"
+ "<m:htmldescription>" + appointment.description + "</m:htmldescription>"
+ "<c:method>REQUEST</c:method>"
+ "<header:to>" + to + "</header:to>"
+ "</g:prop></g:set>"
+ "</g:propertyupdate>";
and I have tried this - this seems to kill all the recurrances and creates a
single item instead:
sqldav = "<?xml version=\"1.0\"?>"
+ "<g:propertyupdate xmlns:e=\"http://schemas.microsoft.com/exchange/\" "
+ "xmlns:g=\"DAV:\" xmlns:c=\"urn:schemas:calendar:\" xmlns:x=\"xml:\" "
+ "xmlns:m=\"urn:schemas:httpmail:\" "
+ "xmlns:header=\"urn:schemas:mailheader:\" "
+ "xmlns:mapi=\"http://schemas.microsoft.com/mapi/\" "
+ "xmlns:dt=\"urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/\" >"
+ "<g:set><g:prop>"
+ "<g:contentclass>urn:content-classes:calendarmessage</g:contentclass>"
+
"<header:contentclass>urn:content-classes:calendarmessage</header:contentclass>"
+
"<e:outlookmessageclass>IPM.Schedule.Meeting.Request</e:outlookmessageclass>"
+ "<m:subject>" + appointment.subject + "</m:subject>"
+ "<m:htmldescription>" + appointment.description + "</m:htmldescription>"
+ "<c:dtstart dt:dt=\"dateTime.tz\">" +
EXConvert.DateTimeToDTString(appointment.StartDate) + "</c:dtstart>"
+ "<c:dtend dt:dt=\"dateTime.tz\">" +
EXConvert.DateTimeToDTString(appointment.EndDate) + "</c:dtend>"
+ "<c:meetingstatus>CONFIRMED</c:meetingstatus>"
+ "<c:busystatus>BUSY</c:busystatus>"
+ "<c:alldayevent>0</c:alldayevent>"
+ "<c:responserequested>1</c:responserequested>"
+ "<c:method>REQUEST</c:method>"
+ "<c:instancetype dt:dt=\"int\">" + appointment.instancetype +
"</c:instancetype>"
+ "<c:timezoneid>76</c:timezoneid>"
+ "<c:rrule><x:v>" + appointment.rrule + "</x:v></c:rrule>"
+ "<c:organizer>" + appointment.Organizer.email + "</c:organizer>"
+ "<mapi:finvited dt:dt=\"boolean\">1</mapi:finvited>"
+ "<mapi:responsestatus dt:dt=\"int\">1</mapi:responsestatus>"
+ "<mapi:responsestate dt:dt=\"int\">0</mapi:responsestate>"
+ "<mapi:response_requested dt:dt=\"boolean\">1</mapi:response_requested>"
+ "<mapi:apptstateflag dt:dt=\"int\">3</mapi:apptstateflag>"
+ "<mapi:busystatus dt:dt=\"int\">1</mapi:busystatus>"
+ "<mapi:intendedbusystatus dt:dt=\"int\">2</mapi:intendedbusystatus>"
+ "<c:uid>" + appointment.uid + "</c:uid>"
+ "<header:to>" + to + "</header:to>"
+ "<c:location>" + loc + "</c:location>";
+ "</g:prop></g:set>"
+ "</g:propertyupdate>";
- Next message: Tom Rizzo [MSFT]: "Re: Exchange Event Sink Read/Unread problem"
- Previous message: Pop_Imap_Pipe: "POP3/IMAP4 Pipelining"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|