I understand that if you have a recurrence series, you can edit a single occurrence and show only that exception.
The important piece of data to bind these together is the RecurrenceId. The original series also contains the RecurrenceException date.
I went through the online demo and using Dev Tools, I could see the data that is passed between the server and client.
Like this:
Exception:
{"TaskID":122,"OwnerID":1,"Title":"No title
(Inherited)","Description":"Inherited","StartTimezone":"","Start":"\/Date
(1371022200000)\/","End":"\/Date
(1371031200000)\/","EndTimezone":"","RecurrenceRule":null,"RecurrenceID":121,"RecurrenceExceptio
n":null,"IsAllDay":false},
Original Recurrence:
{"TaskID":121,"OwnerID":1,"Title":"No
title","Description":"","StartTimezone":"","Start":"\/Date(1371020400000)\/","End":"\/Date
(1371034800000)\/","EndTimezone":"","RecurrenceRule":"FREQ=WEEKLY;BYDAY=WE,TH,FR","RecurrenceID"
:null,"RecurrenceException":"20130612T070000Z;","IsAllDay":false}
This displays correctly.
When I try to do the same with my own data, I show two separate events in the scheduler. My data looks like this:
{"Id":11,"Start":"2014-09-01T08:30:00.000","End":"2014-09-01T16:00:00.000","Title":"Open
Hours","ScheduleType":5,"RecurrenceId":null,"RecurrenceRule":"FREQ=WEEKLY;BYDAY=SU,WE,FR,SA","Re
currenceException":"20140905T070000Z","LocationId":103157,"Description":null,"IsAllDay":false},
{"Id":12,"Start":"2014-09-05T09:30:00.000","End":"2014-09-05T16:00:00.000","Title":"Open
Hours","ScheduleType":5,"RecurrenceId":11,"RecurrenceRule":null,"RecurrenceException":null,"Loca
tionId":103157,"Description":null,"IsAllDay":false}
Not sure why this shows as two events. I've tried various formats for my RecurrenceException data (I'm saving start and end as datetime).
Am I missing something particular here?
Please advice,
Thank you
The important piece of data to bind these together is the RecurrenceId. The original series also contains the RecurrenceException date.
I went through the online demo and using Dev Tools, I could see the data that is passed between the server and client.
Like this:
Exception:
{"TaskID":122,"OwnerID":1,"Title":"No title
(Inherited)","Description":"Inherited","StartTimezone":"","Start":"\/Date
(1371022200000)\/","End":"\/Date
(1371031200000)\/","EndTimezone":"","RecurrenceRule":null,"RecurrenceID":121,"RecurrenceExceptio
n":null,"IsAllDay":false},
Original Recurrence:
{"TaskID":121,"OwnerID":1,"Title":"No
title","Description":"","StartTimezone":"","Start":"\/Date(1371020400000)\/","End":"\/Date
(1371034800000)\/","EndTimezone":"","RecurrenceRule":"FREQ=WEEKLY;BYDAY=WE,TH,FR","RecurrenceID"
:null,"RecurrenceException":"20130612T070000Z;","IsAllDay":false}
This displays correctly.
When I try to do the same with my own data, I show two separate events in the scheduler. My data looks like this:
{"Id":11,"Start":"2014-09-01T08:30:00.000","End":"2014-09-01T16:00:00.000","Title":"Open
Hours","ScheduleType":5,"RecurrenceId":null,"RecurrenceRule":"FREQ=WEEKLY;BYDAY=SU,WE,FR,SA","Re
currenceException":"20140905T070000Z","LocationId":103157,"Description":null,"IsAllDay":false},
{"Id":12,"Start":"2014-09-05T09:30:00.000","End":"2014-09-05T16:00:00.000","Title":"Open
Hours","ScheduleType":5,"RecurrenceId":11,"RecurrenceRule":null,"RecurrenceException":null,"Loca
tionId":103157,"Description":null,"IsAllDay":false}
Not sure why this shows as two events. I've tried various formats for my RecurrenceException data (I'm saving start and end as datetime).
Am I missing something particular here?
Please advice,
Thank you