arun_nagashetti
Joined: 01 Sep 2009
Posts: 1
|
Posted:
Tue Sep 01, 2009 11:35 pm Post subject:
Access Recurrence Appt Exceptions attchmnt with WebDAV |
|
|
I was able to figure out that, when a time/subject/body of an instance of a recurring appointment is changed, it is stored in the exchange datastore as an attachment to the master record.
So, if I have a recurring meeting for every single day of this month from 10 Am to 11 AM, and if I change the time of the meeting on 15th to 5 PM to 6 PM, the master record will have one attachment. If I change one more instance, say on 20th, to 4 PM to 5 PM, the master record will have two attachment.
But one problem I am facing is as follows…
If I change the time for two instances of the recurring appointment as described above, and if the master record has two attachments of embedded type, I get two attachments both with same address as http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML/NoSubject.EML
Due to this, when I use this URL to get the appointment
I always get the details of the first instances that has been changed (i.e. on 15th in the above example).
I am not getting the details of the subsequent changes like that of 20th.
Can you please help me with this issue.
I am using Exchange Server 2003 and the following library was a WebDAV wraper... http://www.independentsoft.com/webdavex/index.html
Attachment[] attachment = objExchangeConnection.ExcgResource.GetAttachment (“"http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML"”);
if(attachment != null && attachment.Length > 0)
{
for(int i = 0; i< attachment.Length; i ++)
{
if(attachment[i].Type == AttachmentType.AttachEmbeddedItem)
{
Appointment objAppointment = objExchangeConnection.ExcgResource.GetAppointment(attachment[i].Address);
// This is the problem, attachment[i].Address is always "http://exchangeserver/exchange/exchange.user/Calendar/AN78.EML/No Subject.EML"
}
}
}
|
|