CAML to Query for Recurring Events

Caml query

SharePoint 101

When you query a SharePoint calendar your results will contain:

  • All non-recurring events
  • The first event of a recurring event series

And won’t contain:

  • All remaining events in recurring event series’

Here is the CAML you need to execute to retrieve all events, including all events in recurring event series:

<listname>My Calendar</listname>

<query>

    <Query>

        <Where>

            <DateRangesOverlap>

                <FieldRef Name=”EventDate”></FieldRef>

                <FieldRef Name=”EndDate”></FieldRef>

                <FieldRef Name=”EventDate”></FieldRef>

                <Value Type=”DateTime”>

                    <Year />

                </ValueType>

            </DateRangesOverlap>

        </Where>

    </Query>

</query>

<queryOptions>

    <QueryOptions>

        <RecurrencePatternXMLVersion>v3</RecurrencePatternXMLVersion>

        <ExpandRecurrence>

    </QueryOptions>

</queryOptions>

<viewFields>

    <FieldRef Name=”EventDate” />

    <FieldRef Name=”EndDate” />

    <FieldRef Name=”fRecurrence” />

    <FieldRef Name=”RecurrenceData” />

</viewFields>

View original post

PhoneGap Vs. Sencha

Development Tips: Creating an HTML5 Mobile App with PhoneGap:

http://www.learningsolutionsmag.com/articles/971/development-tips-creating-an-html5-mobile-app-with-phonegap

Choosing Mobile Web HTML5 Framework

http://stackoverflow.com/questions/5063117/choosing-mobile-web-html5-framework

http://operationproject.com/2011/adventures-in-html5-part-one/

http://stackoverflow.com/questions/14643527/difference-between-phonegap-and-sencha-touch

 

Conclusion:

Sencha wins! Need to document out the reasons and create a demo.