Per me ha funzionato impostando il tag X-WR-RELCALID nell'intestazione del file ics. Quindi Outlook ha riconosciuto l'evento come uguale. Impostare anche METHOD: CANCEL nell'intestazione e STATUS: CANCELED in VEVENT. Come questo:
Questo ics per creare l'evento:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:http://www.example.com/example/
X-WR-RELCALID:ABC
METHOD:PUBLISH
BEGIN:VEVENT
UID:ThisIsTheUID
SEQUENCE:0
ORGANIZER;CN="Mustermann, Max":MAILTO:[email protected]
SUMMARY:Eine Kurzinfo
DESCRIPTION:Beschreibung des Termines
CLASS:PUBLIC
TRANSP:TRANSPARENT
DTSTART:20110804
DTEND:20110805
DTSTAMP:20110804
END:VEVENT
END:VCALENDAR
Questo ics per annullare/rimuovere l'evento:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:http://www.example.com/example/
X-WR-RELCALID:ABC
METHOD:CANCEL
BEGIN:VEVENT
UID:ThisIsTheUID
SEQUENCE:2
ORGANIZER;CN="Mustermann, Max":MAILTO:[email protected]
SUMMARY:Eine Kurzinfo
DESCRIPTION:Beschreibung des Termines
CLASS:PUBLIC
TRANSP:TRANSPARENT
DTSTART:20110804
DTEND:20110805
DTSTAMP:20110804
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
Eventuali duplicati: http://stackoverflow.com/questions/356598/delete-calendar-event-using-icalendar-file-import-outlook-2003-problem –
No, o almeno sembra soddisfatto con appena impostato CANCELED sul suo evento che non è quello che voglio. Voglio che i miei eventi siano completamente cancellati dal calendario. – Fredrik