cancel
Showing results for 
Search instead for 
Did you mean: 

Share Calendar Events saved through Alfresco Browser

iseyfi
Champ in-the-making
Champ in-the-making
I realized creating a calendar event creates an ICS file (node) in alfresco repository that is type of ia:calendarEvent. When I saw this I thought it would be possible to drop ICS files directly into Alfresco Browser so that they'd show in the calendar given their node type is changed to ia:calendarEvent. I used the existing action (Specialise item) to change the node's type to calendarEvent. This however still did not work.

Does anyone know if this is possible? If not could somebody explain why not? One interesting thing to mention is that when the "Specialise Item" action was run and I inspected the node properties through admin interface, I did not see the properties like fromDate or toDate. I think that might be clue to why this is not working.

Thanks in advance.
3 REPLIES 3

iseyfi
Champ in-the-making
Champ in-the-making
Anyone has any ideas how to achieve this?

drake
Champ in-the-making
Champ in-the-making
Hi, I'm pretty new to Alfresco, but I'm having success creating events in Share by POSTing a JSON request to this webscript:
http://localhost:8080/alfresco/service/calendar/create

The JSON looks something like this:

{
  "site":"siteName",
  "from":"Month DD, YYYY",
  "start":"HH:MM",
  "to":"Month DD, YYYY",
  "end":"HH:MM",
  "what":"Event Name",
  "where":"Location",
  "desc":"Description",
  "tags":"space separated list"
}

I realize it's not exactly what you asked for, but this is the easiest way I found to get events into Alfresco from the outside.  The way Alfresco handles the event nodes and ICS files looks like Voodoo to me - zero byte ICS files?

iseyfi
Champ in-the-making
Champ in-the-making
Thanks for the reply. I will keep this in mind. There actually is an issue open in JIRA with regards to the 0 byte ICS file. You should be able to download that file directly from browser but you cannot at the moment. I think my problem may be related to it.