ICS file with VALARM is not triggering alarm in Google calendar - icalendar

I have a simple .ics file with some events. The file can be imported to Google calendar locally or via web URL and that is working fine.
But if I add an alarm in the event structure, the Google calendar ignores that alarm.
The structure of ics:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//icalendar test v1.0//cs-CZ
BEGIN:VEVENT
STATUS:CONFIRMED
DTSTART;VALUE=DATE:20220519
DTEND;VALUE=DATE:20220519
TRANSP:TRANSPARENT
SEQUENCE:0
UID:40792022
DTSTAMP:20220519T181146Z
SUMMARY:Testing
DESCRIPTION:test
PRIORITY:1
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER;VALUE=DATE-TIME:20220519T152000
DESCRIPTION:test
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
In Google cal. settings there is an option to enable alarm some minutes before the event or for fullday events (my case) to set a date and hour to show alarm.
But as I want to show alarm only for some events, that's why I have VALARM defined in ics file, but it doesn't trigger any alarm.

Related

How to create ics file that allow adding attendee on creation of Google calendar event

I am trying to create an .ics for Google Calendar, but when I try to add this event to my Google Calendar using the file, there isn't anyone the event's attendee list.
VERSION:2.0
PRODID:-//PYVOBJECT//NONSGML Version 1//EN
BEGIN:VEVENT
UID:20191205T041804Z - 44748#odoo-vagrant
DTSTART:20200103T140000Z
DTEND:20200103T150000Z
ATTENDEE:MAILTO:dang.nguyen#novobi.com
ATTENDEE:MAILTO:admin#yourcompany.example.com
CREATED:20191205T041803Z
DESCRIPTION:Phone: (098) 159-4793\nEmail: dang.nguyen#novobi.com\n
DTSTAMP:20191205T041804Z
LOCATION:https://zoom.us/j/308566271
ORGANIZER:MAILTO:admin#yourcompany.example.com
SUMMARY:Odoo Accounting with Dang Nguyen
BEGIN:VALARM
ACTION:AUDIO
DESCRIPTION:15 Minute(s)\, by e-mail
TRIGGER;RELATED=START:PT15M
END:VALARM
END:VEVENT
END:VCALENDAR
Can anyone help me with this issue ?

Multiple entry in google calendar with same ics file

I am trying to a event and send invite through ics file. I have create a ics file.My ics file is below.
BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
PRODID:-//PYVOBJECT//NONSGML Version 1//EN
BEGIN:VEVENT
UID:test#1324
DTSTART:20160518T144218
DTEND:20160518T154218
CLASS:PUBLIC
DESCRIPTION:Test
LOCATION:New Delhi
ORGANIZER:amankumar0511#gmail.com
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Test
END:VEVENT
END:VCALENDAR
on clicking it two times. It creates two entry in the calendar. It should update the existing entry.

VALARM in .ics file

This is the .ics file generated from my C# code and this successfully opens in Outlook and shows the reminder too.
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTART:20131022T130000Z
DTEND:20131023T140000Z
SUMMARY:22Demo1
DESCRIPTION:first demo
LOCATION:Ald
BEGIN:VALARM
TRIGGER:-PT10M
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
But when i change the time and supply start time= 09:00 and end time= 10:00 then the .ics file generated is
as below and no reminder in this case is entered when it is opened in Outlook.
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
DTSTART:20131022T100000Z
DTEND:20131023T110000Z
SUMMARY:22Demo1
DESCRIPTION:first demo
LOCATION:Ald
BEGIN:VALARM
TRIGGER:-PT10M
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
Finally I observed that if the time is given from 13:00 (1:00PM)to 23:00(10:00PM) it is working fine and reminder is added but if i enter time like 09:00(AM) or 11:00(AM) then reminder is not added.
Pls tell where i am going wrong or what i am missing.
In the second case your appointment starts in the past (the first will also soon be in the past) and Outlook will not set a reminder in the past.

Valarm not working in icalendar when it has multiple events

Am using following Icalendar code to set multiple events in a single ics file... But when i tested it with outlook 2007, the remainder sets to none.
BEGIN:VCALENDAR
PRODID:- //Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20120130T121000Z
DTEND:20120130T131000Z
UID:1620111121T075424707955
DTSTAMP:20111121T075424
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:some descritption for event
TRANSP:OPAQUE
SUMMARY:Summary
PRIORITY:5
CLASS:PUBLIC
BEGIN:VALARM
DESCRIPTION:Some description for alarm
TRIGGER;RELATED=START:-PT30H
ACTION:DISPLAY
END:VALARM
END:VEVENT
BEGIN:VEVENT
DTSTART:20120201T233800Z
DTEND:20120202T003800Z
UID:1620111121T075424707955
DTSTAMP:20111121T075424
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:some descritption for event
TRANSP:OPAQUE
SUMMARY: Summary
PRIORITY:5
CLASS:PUBLIC
BEGIN:VALARM
DESCRIPTION:Some description for alarm
TRIGGER;RELATED=START:-PT30H
ACTION:DISPLAY
END:VALARM
END:VEVENT
END:VCALENDAR
When I use same format with only one event it is working fine... Help me in resolving this issue.
It seems that reminders in calendar feeds are not supported by Outlook due to its design. Which is unfortunate because the feature is rendered nearly useless without something as basic as reminders.
The only way we were able to get reminders working was taking a calendar item from a feed, and then dragging it into one's personal calendar in Outlook. Not an effective, practical workaround at all.

What is wrong with this iCal event?

I'm generating an ics file from calendar information and google calendar can show these. But a few events doesn't show up, for example this one: (one event extracted from the full file)
BEGIN:VCALENDAR
PRODID:-//tt.megy.se//CalendarExporter V0.1//SE
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Tick-Tack
BEGIN:VEVENT
DTSTAMP:20120116T095000Z
LAST-MODIFIED:20120116T095000Z
CREATED:20120116T095000Z
SEQUENCE:1
DTSTART:20120116T095000Z
DTEND:20120116T104000Z
UID:Lesson20120116T095000ZLu111D#tt.megy.se
SUMMARY:Lunch
LOCATION:.
URL:http://tt.megy.se
DESCRIPTION:.
CLASS:PUBLIC
STATUS:CONFIRMED
END:VEVENT
END:VCALENDAR
I have checked the above at http://severinghaus.org/projects/icv/ and it validates. Does anyone have any idea why this specific event wouldn't show up in an iCal consumer, for example google calendar.
Any help is appreciated.
I was able to "import" it into a test google calendar with no problem.
In my experience, "subscribing" via google calendar can be slow - ie it may not show up for a while.