Skip to main content
1 of 4

CAML Query Next Two Events

I need to create a CAML query to obtain the following two events in a SharePoint list of events:

To consider:

  • There may be recurring events

  • And exceptions to events

The purpose is to show in a webpart the following two events, ie, greater than or equal to today.

Thanks!