Hi @rfc2822,
thanks for providing your knowledge of RFC 5545.
Here’s another update on Notes scriptable export capabilities:
I learned that using the NotesCalendar.getEntries() method, I can get a more complete list of event fields, including RRULE. However, there is another shortcoming of this method that prevents ICSx5 from directly consuming the result:
Each entry I get is contained within its own VCALENDAR (probably to include VTIMEZONE), and there is no exposed interface to merge these entries.
A naive concatenation approach to get an ics file from that (that is mentioned at various places online) looks like this:
notes_ical_issue2.ics
Only the VEVENT in the last VCALENDAR is imported by ICSx5.
This is, however, a better starting point than readRange.
Using some dirty string processing, I was able to construct a Notes Agent that creates a file that works for ICSx5.
I’m putting it here for reference, but it needs some major improvements to be considered production ready. It is, however IMHO better than most of the examples out there that ignore the issues uncovered in this thread and pretend you can feed the concatenated output of getEntries() or that of readRange() directly to the client.
LotusNotes_ICS_Ical_Agent_ICSx5 (Java 1.5)
Thanks again for your support.
Kind regards, Chris