Hello,
I'm trying to change an occurrence of a recurring event without the editor window by using the saveEvent method. I assumed that this can be achieved via the EditOccurrence parameter. I understand (or at least think so) that this should lead lead to the creation of a new event (linked to the series via the RecurrenceID) and adding a RecurrenceException to the series record. However just calling scheduleObject.saveEvent(changedRecord, ' EditOccurrence') throws an error (can provide full error stack)
Error: Uncaught (in promise): TypeError: Cannot read property 'StartTime' of undefined TypeError: Cannot read property 'StartTime' of undefined at _loop_2
This error also occurs when I call the saveEvent method with an updated Id.
Pls. help me understand what is achieved automatically by using the "EditOccurrence" parameter and which steps I have to initiate with my code (e.g. add a new event
cloned form the series, update the parent record with the new exception etc). A code sample of how to achieve the above would also be highly appreciated. Thx a lot.
Julius