When a person creates a recurring appointment, our database decodes the recurrence rule and creates an appointment for each occurrence, then saves the recurrence rule as a text string. When loading appointments the recurrence rule is not loaded because all the appointments are loaded.
When a person edits one of those appointments we want to set the recurrence rule to the original value in case they go to edit it the values will be set.
Currently we attempting to set the custom appointment's recurrence rule in the LoadSettingsFromEvent event of the custom apppointment form.
tmpRule = RecurrenceRule.CreateRule(RecurrenceType.Weekly)
tmpRule.count = 25
appointmentWithEmail.RecurrenceRule = tmpRule
How do we add the ByDay value, i.e. "MO,WE,FR", or the WKST value?