Closed tadchristiansen closed 8 years ago
Hi tad,
I came across an SO answer that addresses this. Also see this thread on Sourceforge (it's for a .NET iCalendar library, but that doesn't matter).
To cancel an existing event, try creating a new ics file that contains a VEVENT with the following properties:
ICalendar ical = new ICalendar();
VEvent event = new VEvent();
event.setStatus(Status.cancelled());
event.setUid(...);
event.setSequence(2);
ical.addEvent(event);
Please let me know if it works!
-Mike
I will give that a shot in the next few days. Right now I am implementing our invites and plan on doing the cancels soon. I will let you know how it goes. I didn't want to log an issue for this one: http://stackoverflow.com/questions/33967246/add-multiple-events-to-ical-with-biweekly because I don't think its an issue with your code. Check out the question if you have time.
Hi @tadchristiansen,
I was wondering if you could provide an update on whether you were able to successfully cancel an event. If so, how did you do it? Thank you.
Assuming issue was resolved. Closing.
I have been searching through the documentation and don't see any way to create an ics file that cancels an existing event. I have just started using this library and it is fantastic. Just wanted to add event cancellations to the wish list :).