This is a migrated thread and some comments may be shown as answers.

Problem editing the single occurence of a meeting in Recurrence meeting in Radscheduler

3 Answers 111 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rakesh
Top achievements
Rank 1
Rakesh asked on 01 Aug 2012, 04:03 PM
Hi,

I am working with creating recurring meetings. I don't have any problem creating recurring meeting and editing the series, but when I want to edit the single occurence of the series i am facing many difficulties. My modified subject won't get updated one in AppoinementUpdate event and my appointment gets deleted on updating. I also donno for some reason after my update event is fired , insert event gets fired and it has the updated subject. Not sure whats going on. I need it asap.
Can anyone please suggest what the issue could be?
Thanks in advance.

Regards,
Rakesh

3 Answers, 1 is accepted

Sort by
0
Rakesh
Top achievements
Rank 1
answered on 01 Aug 2012, 08:22 PM
Hi,

The issue is resolved. The thing I left is RecurrenceState. Once I assigned the RecurrenceState and save it, everything works.

Thanks,
Rakesh
0
Matt
Top achievements
Rank 1
answered on 21 Nov 2013, 12:59 PM
I know this post is old... could you explain "assigned the RecurrenceState and save it"?
0
Rakesh
Top achievements
Rank 1
answered on 21 Nov 2013, 09:33 PM
Matt,

RadScheduler includes support for recurring events on hourly, weekly, daily, monthly and yearly basis. Exceptions to the recurrence rules are also permitted. To support this recurrence behavior, the Appointment class includes the RecurrenceRule, RecurrenceParentID and RecurrenceState properties. When an appointment is promoted into a recurring event its RecurrenceState changes to RecurrenceState.Master and the RecurrenceRule is populated with the string representation of the recurrence rule.

You can set the recurrence state  in AppointmentUpdate and AppointmentInsert events of RadScheduler.

The recurrence master is stored in the database and its occurrences are generated on the fly with RecurrenceState set to RecurrenceState.Occurrence.
If the user modifies an individual appointment occurrence, this creates an exception. The RecurrenceRule of the master is modified to include the date and time of the exception so that no occurrence is generated for the exception occurrence. Then the exception is stored in the database and its RecurrenceParentID property is set to reference the original master. This way the exception is still linked to the original recurrence series.



Thanks,
Rakesh
Tags
Scheduler
Asked by
Rakesh
Top achievements
Rank 1
Answers by
Rakesh
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Share this question
or