[Sorry about the repost...I needed to post with my MSDN alias!]
I am in search of a simple solution for displaying recurring
events from the list web service. Currently, normal event data
is easily retrieved with fieldref names such as Title, Description,
EventDate, and EndDate. However, recurring events seem to be
trickier. I was hoping that the web service would have some
query option element that automatically expands recurring
events based on the recurrence definition, but that seems to
be missing.
Upon querying the web service for list items, I have found an
fRecurrence field (-1 for recurring, 0 for normal), and a
RecurrenceData field that returns something along the lines of:
<recurrence><rule><firstDayOfWeek>su</firstDayOfWeek>
<repeat><daily dayFrequency='1' /></repeat>
<windowEnd>2004-08-27T04:40:00Z</windowEnd></rule></recurrence>
Does anyone know of a solution that will give me all occurrences
without requiring me to parse the RecurrenceData? It seems a little
bizarre that a common request such as "give me today's events"
would not made more trivial, or that you might have to pull down
and evaluate every recurring event every time you wanted to make
this request. The webpart does it...how can I?
Thanks,
Joel
--
Joel D Kraft
Case Western Reserve University