Hi Vasyl,
On 29 Nov 2014, at 08:01, Vasyl Olenchenko olenchenko@gmail.com wrote:
Hi Jan.
OK, I understand. Maybe you know/seen someone implemented it on server side (DaviCAL would be great, but other server software is OK). Some examples or instructions would really help.
I don't know about anyone who implemented this functionality but if you want to implement it in DAViCal then:
- create a plsql function + "after insert or update or delete" trigger on the caldav_data table (which calls your plsql function) - extract the BDAY attribute from the VCARD (if the data type is VCARD) - choose the destination collection from the collection table (where you want to put the birthday event) - create a VCALENDAR/VEVENT text object (which represents the birthday event) - put it into the destination collection (caldav_data table + calendar_item table) - after putting the data into the 2 tables call the write_sync_change plsql function (required by sync-collection report/sync-token synchronization)
JM