ICal import creates new calendar When Open the ics file

前端 未结 4 665
北海茫月
北海茫月 2020-12-11 03:21

I\'m working on \"Add to Calendar\" feature from my Sharepoint webpart (created using VS2010).

I have exported the ICS file programatically with no issues.

相关标签:
4条回答
  • I had the same problem. When clicking on a .ics file outlook creates a new calendar rather then updating a existing calendar.

    I solved this by adding this descriptor in the .ics file:

    X-WR-RELCALID:XXXXXX
    

    where XXXXXX is a unique value for the calendar. Outlook will then ask you for replacing the calendar, rather than adding a new.

    The descriptor was found on http://en.wikipedia.org/wiki/ICalendar

    0 讨论(0)
  • 2020-12-11 04:07

    We had a similar problem and found that if the ICS file had the X-WR-CALNAME field in it, even if is was blank, then Outlook would automatically create a new calendar. If it did NOT have this field in it, then Outlook imported it.

    0 讨论(0)
  • 2020-12-11 04:13

    See this SO post which suggests that Outlook will only support multiple events using ICS as a feed or subscription - not directly as a single ICS import.

    0 讨论(0)
  • 2020-12-11 04:15

    I added this to the VCALENDAR part of my ICS File: "X-MS-OLK-FORCEINSPECTOROPEN:TRUE" This worked for me!

    0 讨论(0)
提交回复
热议问题