当我在Outlook上创建iCalendar时,我想在Outlook上删除它并导入ics-cancel-file,但它会给我提供消息"事件无法导入。请稍后再试。错误消息"。
事件ics文件:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 15.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTAMP:20160504T072433Z
DTSTART;VALUE=DATE;VALUE=DATE:20160506
SUMMARY:BirthDay
UID:20160504T072432Z-1@fe80:0:0:0:a2d3:c1ff:fe34:bacf%2
END:VEVENT
END:VCALENDAR
ics-cancel-file:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 15.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VEVENT
DTSTAMP:20160504T072433Z
DTSTART;VALUE=DATE;VALUE=DATE:20160506
SUMMARY:BirthDay
UID:20160504T072432Z-1@fe80:0:0:0:a2d3:c1ff:fe34:bacf%2
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
我可以修复哪些内容,我可以删除该活动?这个ics文件有什么问题?
答案 0 :(得分:0)
添加第二个文件只需更改事件' STATUS,
,它定义日历组件的总体状态或确认(https://tools.ietf.org/html/rfc5545#section-3.8.1.11)
通过DELETE Request
(http://www.webdav.org/specs/rfc2518.html#METHOD_DELETE)删除日历对象的唯一方法。所以.ics
文件没有问题。