I am working with a custom provider, I call FetchActivities, set up all the appointments, I call FetchRecurrences, set up all the recurrences, and I call FetchVariances, to set up any variances. Appointments and Recurrences seem to work fine. But my Variance doesn't show up on the calendar, the recurrance appears as though there is no variance. And the actual Variance Appt is no where to be found.
Has anyone had trouble with this? Or have any suggestions on what I might be missing? I have an Activity with a VarianceKey which matchs the VarianceKey on my Variance, I verified both have the same RecurrenceKey, I'm using the RootActivity to call CreateVariance, I add the variance to context.Variance.add(appointmentVariance); I have checked all the properties while debugging for appointmentVariance, they all look correct.
Any help would be much appreciated.
This is my FetchRecurrences I think its fairly straight forward, but let me know if you have any questions? What sort of trouble were you having with recurring appts?
context)
{
context.Recurrences.Clear();
.GetRecurrence().Rows)
);
recurringAppt.Key = recurrence[
].ToString();
recurringAppt.EndDateUtc = StringToDate(recurrence[
].ToString());
recurringAppt.DayOfWeekMaskUtc = (
recurringAppt.UtcOffset =
recurringAppt.DayOfMonth =
recurringAppt.MonthOfYear =
recurringAppt.PeriodMultiple =
recurringAppt.Period = (
].ToString()));
recurringAppt.EditType = (
I am also creating own dataprovider. I had some problem showing recurring appointments.
Can you please post your sample of "FetchRecurrences" method.