Does somebody know if it is possible to change one of documents in a series of recurring meetings?
I changed one of them with c# api and it changed all documents in the series (e.g. 5 docs in series will be modified during one save() call)
var document = view.GetFirstDocument();
if (document != null)
{
do
{
var item = document.GetFirstItem("Repeats");
var repeat = tmpItem != null ? Convert.ToInt32(tmpItem.Text) : 0;
if(repeats)
{
document.ReplaceItemValue("myVal", "1"); //it change all my 5 docs after first save
document.Save(true, false);
}
document = view.GetNextDocument(document);
}
while (document != null);
}
From “Lotus Notes Calendar and Scheduling explained! Part 1“:
And from the “IBM Lotus Notes and Domino Calendaring & Scheduling Schema“:
So what you basically have to do is find the child Document of the event ($CSFlags conatins “i” and $Ref the parents UNID) and create a new (second) child document for the changed date/time, removing this particular date/time entry from the existing child document, IIRC.
In such cases, I always do that manually in the Notes Client and then compare the fields created that way with the ones I created via my code.