cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting Alfresco Calendar to file

borisstankov
Champ in-the-making
Champ in-the-making
Hello guys,

Someone can tell me if there is a way to export the alfresco calendar from particular site to a .csv file for example. Or any other type of file.
I done some researching and nowhere is mentioned that I can do that.
I can see iCal Feed button on the top right corner of the calendar but it is in its own format and it is not readable for people.


Thanks and Regards,
Boris
3 REPLIES 3

romschn
Star Collaborator
Star Collaborator
If I understand correctly then you are interested to get the calendar event details shown under Site Dashlet to be exported, is that correct?

Site dashlet uses /alfresco/service/calendar/eventList REST API to get the event details. This is a web script available in alfresco-remote-api-*.jar at the location alfresco\templates\webscripts\org\alfresco\slingshot\calendar. It returns the response in JSON format. You may want to enhance the web script and customize it to return CSV format as the response.

Hope this helps.

borisstankov
Champ in-the-making
Champ in-the-making
Thank you alot for the reply.
This points me to the right direction however I'm not much into scripting, so if you have any ideas how I need to modify it, please let me know.

I would suggest you to go through the Alfresco web script material (wiki/documentation/blog/book) in order to get the understanding of how web scripts work and can be implemented. Once you have basic understanding about web scripts then it will help you get the next steps about how to customize existing web scripts or create a new one.

Hope this helps.