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'm building a Sharepoint service, which allows users to book company's resources, such as conference rooms, etc. The back-end is implemented with standard Calendar list, the front-end uses JavaScript Client OM and Web Services to interact with the list. Users may want to make their bookings recurring - it means, recurring events are added to the calendar. Users have a chance to change their booking's parameters.

Here's where I'm having some problems. Suppose, a user has added an event to the calendar, which recurs weekly on Mondays for 5 times. Later, he changes his mind and wants to change booking's Title and date, and wants the booking to recur daily for 3 times.

I'm using Lists.asmx web service to update the Calendar's entry. Title and Date are updated successfully, but Recurrence parameters not.

I've inspected the outgoing POST query, which my JavaScript code makes to the Lists.asmx:

<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">
        <UpdateListItems xmlns="">
            <listName>{ --list ID here-- }</listName>
                    <Batch OnError="Return">
                        <Method ID="1" Cmd="Update">
                            <Field Name="ID">212</Field>
                            <Field Name="Title" Type="Text">UpdatedTitle</Field>
                            <Field Name="EventDate" Type="DateTime" Format="ISO8601">2011-12-06T11:00:00.000Z</Field>
                            <Field Name="EndDate" Type="DateTime" Format="ISO8601">2011-12-06T11:50:00.000Z</Field>
                            <Field Name="EventType">1</Field>
                            <Field Name="fRecurrence">3</Field>
                            <Field Name="RecurrenceData">&lt;recurrence&gt;
                                                    &lt;weekly tu='TRUE' weekFrequency='1' /&gt;

Here's the response I'm receiving (partially omitted):

<z:row ows_ContentTypeId="0x0102000ADD6CDCF13C09419A66E4F14CFA5654"
       ows_EventDate="2011-12-06 11:00:00"
       ows_EndDate="2011-12-06 11:50:00"
       ows_Modified="2011-12-02 13:13:41"
       ows_Created="2011-12-01 10:41:32"

The EventType in the response is set to 0, which means, Simple event, and the ows_RecurrenceData attribute is not present at all. When I later retirieve this updated Event from the calendar, I see, it's RecurrenceData field is set to null.

Any thoughts, why RecurrenceData is not saved on update? Am I missing something?

ps When adding new Event using the same Web Service, everything is OK with Recurrence

share|improve this question

Recurrence events are quite hard to manage. If possible try use SharePoint API first and then use the SOAP. Here is a working ex:

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.