awsalfresco

Enable Google Docs integration

Since Bitnami Alfresco v4.2.c-1, you can easily enable Alfresco integration with Google Docs.

NOTE: Before you enable Google Docs integration, set up a Google Docs account that will be used for administrative purposes for the integration between Alfresco and Google Docs.

  • Edit the /opt/bitnami/apache-tomcat/shared/classes/alfresco-global.properties file and set the following options. Replace USERNAME and PASSWORD with your Gmail account username and password respectively.

    # Enables Google Editable functionality set to true to enable
    googledocs.googleeditable.enabled=true
    
    # Google Docs system authentication credentials account Alfresco will use a tempt account
    # for everyone
    googledocs.username=USERNAME@gmail.com
    googledocs.password=PASSWORD
    
    # Google docs Application name
    googledocs.application.name=Alfresco ECM system
    
    # Google Docs URL
    googledocs.url=https://docs.google.com/feeds/default/private/full
    googledocs.downloadurl=https://docs.google.com/feeds/download
    
    # Google Docs Spreadsheet Service
    googledocs.spreadsheet.service.name=wise
    googledocs.spreadsheet.downloadurl=https://spreadsheet.google.com/feeds/download
    
  • Restart the Tomcat server:

    $ sudo /opt/bitnami/ctlscript.sh restart tomcat
    

You should now be able to create a site in Alfresco and open the “Document Library”. In the “Create Content” option, create a Google Docs document and start editing it.

If you see an error similar to this:

Error Message: 11260001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/components/googledocs/toolbar.get.js': 11260000 Error: Parameter "site" is missing.

This occurs when you attempt to create a Google Docs document in your repository directly. It is necessary to create an Alfresco site and create the Google Docs document in the “Document Library”.

Last modification August 30, 2018