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

Duplicate items in GetAppointmentsInRange with changes to a recurrence

1 Answer 20 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Andrew N
Top achievements
Rank 1
Andrew N asked on 30 Aug 2010, 07:50 PM
I have a situation where the LIst returned for getappointmentsinrange will return duplicate items for the following:

Modified Recurrences for the first date of the recurrence series.

Example: Create a recurrence for every Monday starting on 9-13-2010 the modify the 9-13-2010 individual occurence.

WHen you do this the list returned from GetAppointmentsInRange will return two items for that specific event.

One with the recurrence rule and one with the recurrence parent id set to the former.

How can I eliminate the unneeded recurrence record? I only need the relevant record which is the one that was modified.

This does only seem to affect a mofified occurence in a recurrence set on the first scheduled occurence.

Thanks!

Andrew

1 Answer, 1 is accepted

Sort by
0
Andrew N
Top achievements
Rank 1
answered on 30 Aug 2010, 07:53 PM
Once again, I figured it out 2 minutes after posting.

There is a visibility flag on every item in the list. The visibility is set to False for the recurrence master when a modified occurence is visible.

THanks!!
Tags
Scheduler
Asked by
Andrew N
Top achievements
Rank 1
Answers by
Andrew N
Top achievements
Rank 1
Share this question
or