Creating recurring calendar entries

I am trying to create recurring calendar entries using the Notes C API. As I understand it, I need to create a note containing the usual calendar items, plus all the “Repeat” items. Then, I have to create a “response note” that is linked to the repeating entry via the $REF property.

I have done all this, and Notes does expand my test recurring entry. However the problem is that the primary entry also shows up on the calendar. When I open this entry, I get a dialog that tells me that the document cannot be modified, and asks me to select from the list of occurrences. This is the same thing I get when I open the entry from the All Documents folder, either my own, or a native Notes calendar entry (but the native entry of course does not show up on the calendar display).

Any idea how I can prevent this behavior? As far as I can tell, I am duplicating exactly the properties that Notes creates in a native repeating entry.

Subject: CalendarDateTime

Jeffrey,

A good explanation of how to create notes that represent calendar data (including details about the parent and child documents) can be found here:

http://www-10.lotus.com/ldd/ddwiki.nsf/dx/cs_schema_toc

The problem is likely that your parent note contains a “CalendarDateTime” item - this should only appear on the child document. The parent note is not supposed to be opened directly as it does not appear on your calendar. The child document appears on your calendar.

Thanks!

Nate