cancel
Showing results for 
Search instead for 
Did you mean: 

Import Calendar into Alfresco Calendar

thk
Champ on-the-rise
Champ on-the-rise
Hi,

We have an googlemail Calendar and we want to integrate our calendar events into Alfresco 5.1.
I can export the calendar events from googlemail as .ics ICalendar Files (as described here: https://support.google.com/calendar/answer/37111?hl=en ).
I have seen that Alfresco also saves its events in the repository in the calendar folder of the site as .ics Files. So I tried to simply upload the exported .ics-File from Googlemail into this Alfresco folder.
Unfortunately nothing happens, the events from the Googlemail Calendar doesn`t show up.
So any ideas how can I import events from googlemail?

Thanks in advance
Regards
Thomas
1 ACCEPTED ANSWER

This isn't a feature we currently support. If you want to import events, then I'm afraid your best option at the moment would be to write an extension to parse your file and push the events to the appropriate APIs.

There is a JIRA open at the moment about this issue: [MNT-11461] Sync Share Calendar iCal feed with Google Calendar - Alfresco JIRA so it might be worth setting a watch to get updates on that issue.

View answer in original post

2 REPLIES 2

steven_okennedy
Star Contributor
Star Contributor
Hi

Alfresco calendar event nodes are not just standard cm:document type objects, which is what you'll get if you just upload the .ics files into the calendar container folder.  You'll need at the minimum to set their type to be ia:calendarEvent and you'll also need to set a number of metadata properties to get them to behave properly, including ia:whatEvent, ia:fromDate and ia:toDate - you can optionally also set ia:whereEvent and ia:description among others.

While Alfresco stores events with an extension of .ics (and you can export the calendar as an ical feed), the nodes are not really ics files and there isn't built in functionality to import ics objects without manually doing the above, as far as I know. 

Regards

Steven

This isn't a feature we currently support. If you want to import events, then I'm afraid your best option at the moment would be to write an extension to parse your file and push the events to the appropriate APIs.

There is a JIRA open at the moment about this issue: [MNT-11461] Sync Share Calendar iCal feed with Google Calendar - Alfresco JIRA so it might be worth setting a watch to get updates on that issue.