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.