Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: 21 Nov 2005 02:27:32 -0800,    group: microsoft.public.exchange2000.development        back       


Creating an exception of a recurring appointment via WebDAV   
Hello,


I try to create an exception of a recurring appointment using WebDAV.

I can create recurring Appointments, but when I try to create an
exception the recurring appointment is displayed as a non recurring
appointment in Outlook 2003.

Everything is fine with recurring appointments created by Outlook. All
exceptions are displayed correctly, but if i want create an exception
of the recurring appointment by my code the first instance of the
appointment is only displayed as a non recurring appointment. Other
instances are missing...

Please help.

Thank you.

R. Kansy
Adito GmbH

Here is the xml request i sent to Exchange to create a recurring
Appointment:

<?xml version="1.0" encoding="UTF-8"?>
<d:propertyupdate xmlns:d="DAV:"
xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:c="urn:schemas:calendar:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:h="urn:schemas:httpmail:" xmlns:header="urn:schemas:mailheader:"
xmlns:m="http://schemas.microsoft.com/mapi/"
xmlns:a="urn:schemas:adito:calendar:" xmlns:x="xml:">
  <d:set>
    <d:prop>
      <d:contentclass>urn:content-classes:appointment</d:contentclass>
      <c:busystatus>BUSY</c:busystatus>
      <c:responserequested b:dt="boolean">1</c:responserequested>
      <c:dtstart
b:dt="dateTime.tz">2005-11-21T15:00:00.000Z</c:dtstart>
      <c:dtend b:dt="dateTime.tz">2005-11-21T16:00:00.000Z</c:dtend>
      <c:alldayevent b:dt="boolean">0</c:alldayevent>
      <c:instancetype b:dt="int">1</c:instancetype>
      <c:timezoneid b:dt="int">4</c:timezoneid>
      <c:rrule b:dt="mv.string">
        <x:v>FREQ=DAILY;INTERVAL=1;COUNT=3</x:v>
      </c:rrule>
      <c:meetingstatus>TENTATIVE</c:meetingstatus>
      <header:to></header:to>
      <e:outlookmessageclass>IPM.Appointment</e:outlookmessageclass>
      <m:finvited b:dt="boolean">1</m:finvited>
      <m:sent_representing_name>Rafael Kansy</m:sent_representing_name>
      <a:owner>Rafael Kansy</a:owner>
      <m:sensitivity b:dt="int">0</m:sensitivity>
      <m:sender_name>Rafael Kansy</m:sender_name>
      <a:organizer>Rafael Kansy</a:organizer>
      <c:organizer>Rafael Kansy</c:organizer>
      <m:subject>Adito</m:subject>
    </d:prop>
  </d:set>
  <remove>
    <prop>
      <c:location/>
      <c:exrule/>
      <c:recurrenceid/>
      <e:keywords-utf8/>
      <h:htmldescription/>
      <m:reminderset/>
      <m:reminderdelta/>
      <m:remindernexttime/>
    </prop>
  </remove>
</d:propertyupdate>

After querry expanding the recurring appointment is displayed correctly
in Outlook until i want to create the first exception of the
appointment.
Here is the xml code, that I send to the exchange server:


<?xml version="1.0" encoding="UTF-8"?>
<d:propertyupdate xmlns:d="DAV:"
xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:c="urn:schemas:calendar:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:h="urn:schemas:httpmail:" xmlns:header="urn:schemas:mailheader:"
xmlns:m="http://schemas.microsoft.com/mapi/"
xmlns:a="urn:schemas:adito:calendar:" xmlns:x="xml:">
  <d:target>

<d:href>https://exchange/exchange/r.kansy/Kalender/Adito-4.eml</d:href>
  </d:target>
  <d:set>
    <d:prop>
      <d:contentclass>urn:content-classes:appointment</d:contentclass>
      <c:busystatus>BUSY</c:busystatus>
      <c:responserequested b:dt="boolean">1</c:responserequested>
      <c:dtstart
b:dt="dateTime.tz">2005-11-23T14:00:00.000Z</c:dtstart>
      <c:dtend b:dt="dateTime.tz">2005-11-23T15:00:00.000Z</c:dtend>
      <c:alldayevent b:dt="boolean">0</c:alldayevent>
      <c:instancetype b:dt="int">3</c:instancetype>
      <c:recurrenceid
b:dt="dateTime.tz">2005-11-23T15:00:00.000Z</c:recurrenceid>
      <c:meetingstatus>TENTATIVE</c:meetingstatus>

<c:uid>CD0000008B9511D182D800C04FB1625D7774067E54F69340A796F455CE6F7B24</c:uid>
      <header:to></header:to>
      <e:outlookmessageclass>IPM.Appointment</e:outlookmessageclass>
      <m:finvited b:dt="boolean">1</m:finvited>
      <m:sent_representing_name>Rafael Kansy</m:sent_representing_name>
      <a:owner>Rafael Kansy</a:owner>
      <m:sensitivity b:dt="int">0</m:sensitivity>
      <m:sender_name>Rafael Kansy</m:sender_name>
      <a:organizer>Rafael Kansy</a:organizer>
      <c:organizer>Rafael Kansy</c:organizer>
      <m:subject>Adito</m:subject>
      <a:relatedurls b:dt="mv.string">
        <x:v>https://exchange/exchange/r.kansy/Kalender/Adito.eml</x:v>

<x:v>https://exchange/exchange/r.kansy/Kalender/Adito-2.eml</x:v>

<x:v>https://exchange/exchange/r.kansy/Kalender/Adito-3.eml</x:v>

<x:v>https://exchange/exchange/r.kansy/Kalender/Adito-4.eml</x:v>
      </a:relatedurls>
    </d:prop>
  </d:set>
  <remove>
    <prop>
      <c:location/>
      <c:rrule/>
      <c:exrule/>
      <e:keywords-utf8/>
      <h:htmldescription/>
      <m:reminderset/>
      <m:reminderdelta/>
      <m:remindernexttime/>
    </prop>
  </remove>
</d:propertyupdate>


Now only the first instance is visible as a single non recurring
appoinment.

How to create the exceptions of recurring appointments correctly?

Please help and thank you in advance...

Rafael Kansy
Adito GmbH
date: 21 Nov 2005 02:27:32 -0800   author:   Pirat

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us