是否Outlook 2003中支持的iCal 2.0规范的更新和删除日历项目吗? [英] Does Outlook 2003 support iCal 2.0 spec for updating and deleting a calendar item?

查看:189
本文介绍了是否Outlook 2003中支持的iCal 2.0规范的更新和删除日历项目吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在研究一个asp.net 2.0的Web应用程序,电子邮件用户的iCal中保存到其Outlook 2003日历。我们注意到没有code更新或删除的项目似乎即使的iCal 2.0规范支持它的工作。我们很好奇,如果Outlook 2003中根本不理会这样?确实Outlook 2007中的行为不同?

We are working on an asp.net 2.0 web app that emails users an ical to save to their outlook 2003 calendar. We noticed none of the code to update or delete an item seem to work even though the ical 2.0 spec supports it. We are curious if Outlook 2003 just ignores this? Does Outlook 2007 act differently?

我们在那里有一个事件可能会改变或取消其触发了一封电子邮件通知,但更新的iCal只是增加了一个新的事件,它讷韦尔删除和或移动原始....

We have situations where an event may change or be cancelled which fires off an email notification but the updated ical just adds a new event, it nevers deletes and or moves the original....

我们是否失去了一些东西?

Are we missing something?

推荐答案

我们已经能够得到它现在要删除一条消息....但不更新方式,我们认为这将....

We have been able to get it to delete a message now.... but not update the way we thought it would....

设置我们发送会议...

to setup a meeting we send...

BEGIN:VCALENDAR
版本:2.0
方法:发布
BEGIN:VEVENT
类:public
优先级:5
顺序:0
UID:12345
摘要:测试
位置:测试
DTSTART:20090709T230000Z
DTEND:20090710T000000Z
DTSTAMP:20090713T164634Z
描述:测试
END:VEVENT
END:VCALENDAR

BEGIN:VCALENDAR VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT CLASS:PUBLIC PRIORITY:5 SEQUENCE:0 UID:12345 SUMMARY:test LOCATION:test DTSTART:20090709T230000Z DTEND:20090710T000000Z DTSTAMP:20090713T164634Z DESCRIPTION:test END:VEVENT END:VCALENDAR

删除我们只需更改的方法来发送消息,取消像这样:

to delete we send a message by just changing the method to cancel like so:

BEGIN:VCALENDAR
版本:2.0
方法:取消
BEGIN:VEVENT
类:public
优先级:5
顺序:0
UID:12345
摘要:测试
位置:测试
DTSTART:20090709T230000Z
DTEND:20090710T000000Z
DTSTAMP:20090713T164634Z
描述:测试
END:VEVENT
END:VCALENDAR

BEGIN:VCALENDAR VERSION:2.0 METHOD:CANCEL BEGIN:VEVENT CLASS:PUBLIC PRIORITY:5 SEQUENCE:0 UID:12345 SUMMARY:test LOCATION:test DTSTART:20090709T230000Z DTEND:20090710T000000Z DTSTAMP:20090713T164634Z DESCRIPTION:test END:VEVENT END:VCALENDAR

我们的与原来删除的问题是我们有空白的组织者行。我们移除了和取消工作... ...

Our original issue with the deleting is we had a blank organizer line. We removed that and canceling worked....

作为用于更新一个原始像中的第一行发布,我们已经无法。我们已经增加了序列#从零到1和它只是增加了一个新的会议。我们使用的是相同的UID号这在我们的测试仅仅是12345

As for updating an original publish like in the first line, we have been unable to. We have increased the sequence # from zero to 1 and it just adds a new meeting. We are using the same UID number which in our testing is just 12345.

我发现这样做的唯一方法是创建一个组织者,并从发布到请求类型改变。

The only way I have found to do this is to create an organizer and change from publish to a request type.

在阅读RFC2445这似乎是它是如何设计的。发布总是会创造一个新的记录和顺序并不重要。当顺序重要的是与组织者和请求的方法......

In reading the rfc2445 this seems to be how it's designed. Publish will always create a new record and sequence doesn't matter. When sequence matters is with an organizer and request method....

我还发现我的测试后,这个答案在这里阅读计算器:
<一href=\"http://stackoverflow.com/questions/45453/icalendar-and-event-updates-not-working-in-outlook\">http://stackoverflow.com/questions/45453/icalendar-and-event-updates-not-working-in-outlook

I also found this answer after my testing and reading on stackoverflow here: http://stackoverflow.com/questions/45453/icalendar-and-event-updates-not-working-in-outlook

咄,我没有看到较早....:)

Duh for me not seeing that earlier.... :)

下面是一个例子:

BEGIN:VCALENDAR
版本:2.0
方法:REQUEST
BEGIN:VEVENT
类:public
DTEND:20090713T203000Z
DTSTAMP:20090713T174434Z
DTSTART:20090713T200000Z
主办单位; CN =没有人特别;邮寄地址:dontemailme@email.com
优先级:5
顺序:0
摘要:午餐?
UID:1234567
END:VEVENT
END:VCALENDAR

BEGIN:VCALENDAR VERSION:2.0 METHOD:REQUEST BEGIN:VEVENT CLASS:PUBLIC DTEND:20090713T203000Z DTSTAMP:20090713T174434Z DTSTART:20090713T200000Z ORGANIZER;CN="No one special";mailto:dontemailme@email.com PRIORITY:5 SEQUENCE:0 SUMMARY: Lunch? UID:1234567 END:VEVENT END:VCALENDAR

和更新它...

BEGIN:VCALENDAR
版本:2.0
方法:REQUEST
BEGIN:VEVENT
类:public
DTEND:20090713T213000Z
DTSTAMP:20090713T174434Z
DTSTART:20090713T210000Z
主办单位; CN =没有人特别;邮寄地址:dontemailme@email.com
优先级:5
序:1
摘要:午餐?
UID:1234567
END:VEVENT
END:VCALENDAR

BEGIN:VCALENDAR VERSION:2.0 METHOD:REQUEST BEGIN:VEVENT CLASS:PUBLIC DTEND:20090713T213000Z DTSTAMP:20090713T174434Z DTSTART:20090713T210000Z ORGANIZER;CN="No one special";mailto:dontemailme@email.com PRIORITY:5 SEQUENCE:1 SUMMARY: Lunch? UID:1234567 END:VEVENT END:VCALENDAR

和取消它......

And to cancel it....

BEGIN:VCALENDAR
版本:2.0
方法:取消
BEGIN:VEVENT
类:public
DTEND:20090713T213000Z
DTSTAMP:20090713T174434Z
DTSTART:20090713T210000Z
主办单位; CN =没有人特别;邮寄地址:dontemailme@email.com
优先级:5
序:1
摘要:午餐?
UID:1234567
END:VEVENT
END:VCALENDAR

BEGIN:VCALENDAR VERSION:2.0 METHOD:CANCEL BEGIN:VEVENT CLASS:PUBLIC DTEND:20090713T213000Z DTSTAMP:20090713T174434Z DTSTART:20090713T210000Z ORGANIZER;CN="No one special";mailto:dontemailme@email.com PRIORITY:5 SEQUENCE:1 SUMMARY: Lunch? UID:1234567 END:VEVENT END:VCALENDAR

该序列#不要紧,在解约......

The sequence # doesn't matter for the cancelling....

这篇关于是否Outlook 2003中支持的iCal 2.0规范的更新和删除日历项目吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆