Monday, June 14, 2010

Alfresco-Google Docs Integration

Steps For Google Docs Integration in Alfresco


this is integration in alfresco 3.3 version

step1: Goto tomcat\shared\classes\alfresco\web-extension

rename share-config-custom.xml.sample to share-config-custom.xml

step2: open share-config-custom.xml file and false to true which is in bold.

<google-docs>
<!--
Enable/disable the Google Docs UI integration (Extra types on Create Content menu, Google Docs actions).
If enabled, remember to also make sure the gd:googleEditable aspect is made visible in the <aspects> section above.
-->
<enabled>true</enabled>

<!--
The mimetypes of documents Google Docs allows you to create via the Share interface.
The I18N label is created from the "type" attribute, e.g. google-docs.doc=Google Docs&trade; Document
-->
<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>



step3:

add aspect <aspect name="gd:googleEditable" />

step4:

Add this to your alfresco-global properties

# GoogleDocs configuration
googledocs.googleeditable.enabled=true
googledocs.username=yourname@youraddress.com
googledocs.password=yourgooglepassword

log4j.logger.org.alfresco.repo.googledocs=debug

step5: resart the tomcat server.

Here Added video tutorial from YouTube