SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

"<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 '14 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 '14 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 '14 at 15:18

Your Answer


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

Browse other questions tagged or ask your own question.