Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Is it possible to import a .ics filled with events to a non-default calendar?

Hi all,


I'm making a spreadsheet to build a .ics file with the month shifts, to become easier to fill them in Calendar.


I have shifts in different workplaces and I liked to have different colors, so I easily identify where to go.


I managed to add all the events, but it always add to the default calendar that is defined.

There is any line that I can add in each block that define an event to place it in the correct calendar?


here is a simple example of the output only with two events:


BEGIN:VCALENDAR


BEGIN:VEVENT

UID:shifts20140101T4

DTEND;TZID=Europe/Lisbon:20140101T160000

SUMMARY:Morning

DTSTART;TZID=Europe/Lisbon:20140101T080000

END:VEVENT

BEGIN:VEVENT

UID:shifts20140102T5

DTEND;TZID=Europe/Lisbon:20140102T230000

SUMMARY:Afternoon

DTSTART;TZID=Europe/Lisbon:20140102T160000

END:VEVENT


END:VCALENDAR


Thanks in advance,

Luis

MacBook Pro with Retina display, OS X Mavericks (10.9)

Posted on Jan 24, 2014 7:52 PM

Reply
4 replies

Jan 25, 2014 9:46 AM in response to luisleec

Hi Luis,


Apple's Calendar reads a non standard property of the calendar file, X-WR-CALNAME, containing a calendar name that the importer will default to. However as far as I know this will only be set once per file. Like this:


BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
X-WR-CALNAME:Work
PRODID:-//Apple Inc.//Mac OS X 10.9//EN
X-APPLE-CALENDAR-COLOR:#711A76
...


Best wishes

John M

Jan 25, 2014 9:55 AM in response to John Maisey

Hi John,


I created a new calendar for testing this, and created an event there,


exported that new calendar, erased the event from calendar, then imported the file and even that event is added to the default calendar.


I only see two ways here,

or I generate one ics file for each calendar and each time I import I change the default calendar,

or I add all to one calendar, then select by hand all events of same type then switch calendar type.

Seems harder finding out how to do it automatically


but if someone knows how to do it...will make my day 🙂


Thanks,

Luis

Is it possible to import a .ics filled with events to a non-default calendar?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.