Hello all,
I think I may have found a bug with the Export function for the RadScheduler. I used the Export function as follows:
and then used this iCal feed in lotus notes and got the error: "The content of this URL does not conform to the iCalendar parsing specification." At first I thought this was because I was using a custom appointment object and editappointmentdialog. Here is the contents of the .ics file produced from the export function:
Please note the bolded lines. This above .ics file did not load correctly in lotus notes and produced the error message I said above.
All I had to do to fix this error and get my ics file correctly working in lotus notes was make the following changes to the above bolded lines:
Can you confirm that setting time zone as
EDIT: I found another fix for this.
We can leave the DTSTART and DTEND in VEVENT as is:
BUT we have to add a timezone offset to the DTSTART (in STANDARD and DAYLIGHT) of VTIMEZONE
I think I may have found a bug with the Export function for the RadScheduler. I used the Export function as follows:
Using stream
As
FileStream = File.Create(
"schedule.ics"
)
Me
.schAvailability.Export(stream,
New
SchedulerICalendarExporter)
End
Using
and then used this iCal feed in lotus notes and got the error: "The content of this URL does not conform to the iCalendar parsing specification." At first I thought this was because I was using a custom appointment object and editappointmentdialog. Here is the contents of the .ics file produced from the export function:
BEGIN:VCALENDAR
PRODID:-//Telerik Inc.//NONSGML RadScheduler//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Mountain Standard Time
BEGIN:STANDARD
TZNAME:Mountain Standard Time
TZOFFSETTO:-0700
TZOFFSETFROM:-0600
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=11;BYSETPOS=1;WKST=MO
DTSTART:16010101T020000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:-0700
TZOFFSETTO:-0600
DTSTART:20070101T020000
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=3;BYSETPOS=2;WKST=MO
TZNAME:Mountain Daylight Time
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Mountain Standard Time:20100702T000000
DTEND;TZID=Mountain Standard Time:20100702T235900
SUMMARY:Vacation
DESCRIPTION:Vacation
UID:98ef45e7-e8b1-43b9-92f2-91cd7a9cf2fb
LOCATION:Vacation
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
BACKGROUND:BUSINESS
END:VEVENT
END:VCALENDAR
Please note the bolded lines. This above .ics file did not load correctly in lotus notes and produced the error message I said above.
All I had to do to fix this error and get my ics file correctly working in lotus notes was make the following changes to the above bolded lines:
DTSTART:20100702T000000-0700
DTEND:20100702T235900-0700
Can you confirm that setting time zone as
;TZID=Mountain Standard Time:
is indeed an issue (for lotus notes)?EDIT: I found another fix for this.
We can leave the DTSTART and DTEND in VEVENT as is:
DTSTART;TZID=Mountain Standard Time:20100702T000000
DTEND;TZID=Mountain Standard Time:20100702T235900
BUT we have to add a timezone offset to the DTSTART (in STANDARD and DAYLIGHT) of VTIMEZONE
BEGIN:VTIMEZONE
TZID:Mountain Standard Time
BEGIN:STANDARD
TZNAME:Mountain Standard Time
TZOFFSETTO:-0700
TZOFFSETFROM:-0600
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=11;BYSETPOS=1;WKST=MO
DTSTART:16010101T020000-0700
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:-0700
TZOFFSETTO:-0600
DTSTART:20070101T020000-0700
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=3;BYSETPOS=2;WKST=MO
TZNAME:Mountain Daylight Time
END:DAYLIGHT
END:VTIMEZONE