Alfresco Google Docs Integration
Tue, Jun 15, 2010 by Chunho Kim
As I mentioned in my previous blog "New Alfresco Enterprise 3.3 release coming soon", Alfresco Software released Alfresco Enterprise 3.3 in May and I listed a few of the great features in the blog. But at this time, I would like to introduce another cool feature, "Google Docs Integration" This feature allows users to check out documents from the Alfresco repository to Google Docs. Users can make changes, collaborate with colleagues, and then check in the working copy to Alfresco. Basically, what this means is that users don't need to download documents to their desktop, and edit with MS Office tools. Users can utilize a free, web-based word processor, spreadsheet, data, presentation and form service offered by Google.
So, how to use it?
1. Confirm your configuration
1.1. add properties below in alfresco-global.properties in ALF_HOME/tomcat/shared/classes
- add "googledocs.googleeditable.enabled=true"
- add "googledocs.username=username@gmail.com"
- add "googledocs.password=password"
Note. Of course, change your username and password to your goolge account ones.

1.2. edit share-config-custom.xml in ALF_HOME/tomcat/shared/classes/alfresco/web-extension
- Add Google Editable Aspect declared.

- Loot at the Google Docs section of the file and change the value to "true"

2.Login Share and click “Document Library” in any one of your sites. And then click “Create Content” and select one of Google Docs.

3.Enter Meatadata (name, title, description) and click “Create”

4.Click “Checkout to Google Docs” in Document Actions

5.Once you have successfully done it, then you will see the message below and click the message.
“This document has been uploaded by you to Google Docs for editing”

6.By clicking the message link, new browser tab will be opened with Google Docs and you will be able to edit the document.

7.Click “Checkin from Google Docs” once you have edited the document.

8.Go back to Share and confirm if the document is actually edited from Google Docs.
If you have tried the new "Google Docs Integration" with Alfresco Enterprise 3.3, let me know what you thought about it.
xiaole posted on August 30, 2010 6:35 am
Thanks very much for this very informative post!
Since Alfresco share is built on webscripts Restful API, can you kindly tell us which webscript is for this function?
We are farmiliar with both check in/out function in Alfresco webclient and share with local system files update in pervious alfresco version, but integration with GDoc is new in 3.3 , just want to know more about it.
If I use java to implement this check in/out functions, is there any methods in Alfresco services like nodeService, contentService etc has such methods to interoperate with Google doc open APIs?
Looking forward your email to: xiaole.zhu@gmail.com
have a nice day:)
Nancy Garrity posted on June 18, 2010 3:13 pm
Thanks so much for this very informative post!
Post new comment