I'm trying to create Appointments programatically from another BO, specifically for Contact Birthdays.
Through a process of trial and error I have found that by creating an Appointment and setting Recurrence it creates an entry in Appointment.RecRule which defines the recurrence (e.g. FREQ=YEARLY;BYMONTH=2;BYMONTHDAY=15)
However, when I then look at a calendar view of these system generated Appointments there is no Recurrence symbol showing on the instance. If I open this up and edit it using the Appointment form and set the recurrence then the symbol shows and it appears to register it appropriately as a recurring appointment.
Is this a bug or a limitation? And more importantly is there a work around?
Appointments - Programatic Recurrence
-
- Posts: 1458
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
-
- Posts: 1458
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Appointments - Programatic Recurrence
Has anyone done anything with non manually generated Appointment objects with recurrence?
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Appointments - Programatic Recurrence
Create a simple BSV with just one appointment object. Create a recurrence for it using standard (non manual) approach. Look at the database and see what gets stored there. Then do the same thing manually, i.e. make sure that exactly the same info is stored in the database. This should work in theory.
Aware IM Support Team
-
- Posts: 1458
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: Appointments - Programatic Recurrence
The addition of is mandatory for Appointments recurrence it seems.
Will there be better documentation of the requirements for the RecRule attribute in V8?
Code: Select all
+';WKST=SU'
Will there be better documentation of the requirements for the RecRule attribute in V8?