Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Recurring Appointment. How to make an exception ? (Read 3837 times)
SLUser
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 34
Joined: Dec 7th, 2012
Recurring Appointment. How to make an exception ?
Dec 27th, 2012 at 8:06pm
Print Post  
With recurring appointments, it is possible to create exceptions by moving a specific appointment to another date. However it is also possible to create an exception with another property (lets say I derived from appointment and added a string property 'ExtraInfo' which is only filled in for a few specific items of my recurring appointment.

Thanks,
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Recurring Appointment. How to make an exception ?
Reply #1 - Dec 28th, 2012 at 7:31am
Print Post  
Hi,

If you need to create exceptions programmatically, simply set the respective property (StartTime, EndTime, and so on) of the item occurrence to its new value and this should automatically create an exception. For custom properties, you need to call Recurrence.MarkException passing a reference to the item.

To get a reference to the occurrence (other than by handling an event), call the GenerateItems method of the item's Recurrence instance.

Regards,
Meppy
  
Back to top
 
IP Logged
 
SLUser
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 34
Joined: Dec 7th, 2012
Re: Recurring Appointment. How to make an exception ?
Reply #2 - Dec 28th, 2012 at 9:39pm
Print Post  
Works fine ! Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint