ICalendar和事件更新在Outlook中不起作用 [英] ICalendar and event updates not working in Outlook
问题描述
我正在生成ICalendar(.ics)文件.
使用UID和SEQUENCE字段,我可以更新MS Outlook 2007中Google日历和Windows日历中的现有事件 但不能 -它只会创建第二个事件>
我如何让它们在Outlook中工作?
谢谢
汤姆
我继续进行一些测试,现在设法使Outlook根据.cs文件更新和取消事件.
事实上,Outlook似乎对 RFC 2446
总之,您必须指定
METHOD:REQUEST
和ORGANIZER:xxxxxxxx
除了UID
:和SEQUENCE:
要取消,您必须指定METHOD:CANCEL
请求/更新示例
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//SYFADIS//PORTAIL FORMATION//FR
METHOD:REQUEST
BEGIN:VEVENT
UID:TS_229377_MS_262145@syfadis.com
SEQUENCE:5
DTSTAMP:20081106T154911Z
ORGANIZER:catalog@syfadis.com
DTSTART:20081113T164907
DTEND:20081115T170000
SUMMARY:TestTraining
STATUS:CONFIRMED
END:VEVENT
END:VCALENDAR
取消示例;
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//SYFADIS//PORTAIL FORMATION//FR
METHOD:CANCEL
BEGIN:VEVENT
UID:TS_229377_MS_262145@syfadis.com
SEQUENCE:7
DTSTAMP:20081106T154916Z
ORGANIZER:catalog@syfadis.com
DTSTART:20081113T164907
SUMMARY:TestTraining
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
I'm generating ICalendar (.ics) files.
Using the UID and SEQUENCE fields I can update existing events in Google Calendar and in Windows Calendar BUT NOT in MS Outlook 2007 - it just creates a second event
How do I get them to work for Outlook ?
Thanks
Tom
I've continued to do some testing and have now managed to get Outlook to update and cancel events based on the .cs file.
Outlook in fact seems to respond to the rules defined in RFC 2446
In summary you have to specify
METHOD:REQUEST
and ORGANIZER:xxxxxxxx
in addition to UID
: and SEQUENCE:
For a cancellation you have to specify METHOD:CANCEL
Request/Update Example
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//SYFADIS//PORTAIL FORMATION//FR
METHOD:REQUEST
BEGIN:VEVENT
UID:TS_229377_MS_262145@syfadis.com
SEQUENCE:5
DTSTAMP:20081106T154911Z
ORGANIZER:catalog@syfadis.com
DTSTART:20081113T164907
DTEND:20081115T170000
SUMMARY:TestTraining
STATUS:CONFIRMED
END:VEVENT
END:VCALENDAR
Cancel Example;
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//SYFADIS//PORTAIL FORMATION//FR
METHOD:CANCEL
BEGIN:VEVENT
UID:TS_229377_MS_262145@syfadis.com
SEQUENCE:7
DTSTAMP:20081106T154916Z
ORGANIZER:catalog@syfadis.com
DTSTART:20081113T164907
SUMMARY:TestTraining
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
这篇关于ICalendar和事件更新在Outlook中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!