Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to generate EWS Microsoft.Exchange.WebServices.Data.Recurrence object based on RecurrenceData column of SharePoint List.

SharePoint stores recurring information in Xml format in RecurrenceData column whereas EWS uses own Recurrence object to hold recurring information:

?item["RecurrenceData"]
"<recurrence><rule><firstDayOfWeek>su</firstDayOfWeek><repeat><weekly tu=\"TRUE\" weekFrequency=\"1\" /></repeat><repeatForever>FALSE</repeatForever></rule></recurrence>"

I am wondering if someone has any code snippet or pointer to any article which provide XML parsing of RecurrenceData and create required Recurrence object. Look like it will require some brute force method to parse RecurrenceData.

share|improve this question
    
I have the same requirements, but can not find a solution as well. Do you have any news about that? –  MikhailSP Feb 13 at 9:54
    
Mikhail, I didn't find any solution to convert Xml to Reference object, so I build my own. It's just a simple parser which pull out data from Xml node and fill respective fields of the Reference object. –  Firoz Ansari Feb 13 at 14:05
    
Thanks for the quick answer, Firoz. Several hours ago I gave up googling for the solution and decided to use the same approach too. –  MikhailSP Feb 13 at 15:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.