Hi,
Can anyone provide me a working exaple of custom data provider that provides features like varience and deleted instance of recurring activities.
Thanks,
Farrukh
Hi Guys,
I have same kind of problem for variance. I am unable to locate custom variance setting for recurrance. Pls give me code to set custom variance where can i fire FetchVarinacesContext event.
Thanks in advance
When in doubt ask Derek as he is 100% correct this is the TOP problem with custom data provider and is being caused by your data result set not setting the correct KEY for not only the appointment but for the variance as well... the easiest way to fix this problem is to step into your code and look at the key being assigned (if any) and verify that it is linked correctly to the appointment etc.
Reasons why Fetch( FetchVarianceContext context ) isn't called:
1.) The root Appointment object and Recurrence object are not attached to each other by the RecurrenceKey property (i.e., the Appointment isn't recurring).2.) The root Appointment object has an Empty value for it's VarianceKey property (i.e., when it was written to the data source the emptiness of this key means it had no variances).
Check that the RecurrenceKey property on the root Appointment object isn't "-999" and that when creating the Recurrence object the CreateRecurrence( ) called was using the actual root Appointment object (and not a copy).
Hi Farrukh -
FetchVariancesContext context.
Thanks
-Gweyn