Monday, August 15, 2011

Alfresco and Google Docs Integration

One of many features of Alfresco is the easy integration with Google Docs. This feature provide to user a good way to edit documents in ms-World, ms-Excel and ms-PowerPoint formats. To config this functionality in an Alfresco bundled instalation follow the steps bellow. 

First, you need go to <ALFRESCO_HOME>\tomcat\shared\classes\alfresco\web-extension folder and edit the share-config-custom.xml file. In this file, you need add or edit the google-docs block, inside the DocumentLibrary config, changing enabled property to true as showed bellow.

<config evaluator="string-compare" condition="DocumentLibrary">
      <google-docs>
            <enabled>true</enabled>
            <creatable-types>
                   <creatable type="doc">application/msword</creatable>
                   <creatable type="xls">application/vnd.ms-excel</creatable>
                   <creatable type="ppt">application/vnd.ms-powerpoint</creatable>
            </creatable-types>
      </google-docs>
</config>

After edit and save share-config-custom.xml file, open the alfresco-global.properties file, inside the  <ALFRESCO_HOME>\tomcat\shared\classes, and include the properties discribed bellow.

googledocs.googleeditable.enabled
This property when true enables google editable functionality
googledocs.username
The system google docs autnentication user name
googledocs.password
The system google docs autnentication password
log4j.logger.org.alfresco.repo.googledocs
Log configuration for google docs module

Follow has an example of google docs properties.

googledocs.googleeditable.enabled=true
googledocs.username=myuser@gmail.com
googledocs.password=******
log4j.logger.org.alfresco.repo.googledocs=debug

Reboot Alfresco and try to use the integration. To help you, follow has a set of videos teaching use google docs with alfresco







]


No comments:

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes