You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create a recurring event, the repeats ('children' if you will) get slightly different itemIds, which makes it hard to find and delete them later on.
How can I delete all recurrences when deleting the master event?
Because even if I delete the "master" event (i.e. the first event) based on that itemId and changeKey, the recurring event still remains in the calendar...
I created the following recurring event, which is shown as two events when I do getCalendarItems:
// Get the item based on its itemId and changeKey that we stored:
$item= $calendar->getCalendarItem($itemId, $changeKey);
// Delete that item:
$calendar->deleteCalendarItem($item->getItemId());
In which I provided the $itemId and $changeKey of the MASTER event.
However, this ONLY deletes the first event, NOT the second one.
Any ideas?
The text was updated successfully, but these errors were encountered:
Update: having the same problem with updating. Even though the events are supposed to be recurrences of a master event, changing the subject of the master event does not update the recurrences...
When I create a recurring event, the repeats ('children' if you will) get slightly different itemIds, which makes it hard to find and delete them later on.
How can I delete all recurrences when deleting the master event?
Because even if I delete the "master" event (i.e. the first event) based on that itemId and changeKey, the recurring event still remains in the calendar...
I created the following recurring event, which is shown as two events when I do getCalendarItems:
Then I do:
In which I provided the $itemId and $changeKey of the MASTER event.
However, this ONLY deletes the first event, NOT the second one.
Any ideas?
The text was updated successfully, but these errors were encountered: