Google Docs config in 3.4a

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2010 01:36 AM
I installed 3.4a Community edition.
The content of the share-config-custom.xml file in tomcat\shared\classes\web-extension does not have any google docs information, like it did in 3.3g.
For example in 3.3g the share-config-custom.xml file had
<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™ 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>
but the 3.4a share-config-custom.xml file doesn't have this.
The share-config-custom.xml file in 3.4a has the following content:
<alfresco-config> <!– Repository Library config section –> <config evaluator="string-compare" condition="RepositoryLibrary" replace="true"> <!– Whether the link to the Repository Library appears in the header component or not. –> <visible>true</visible> </config> <config evaluator="string-compare" condition="Remote"> <remote> <endpoint> <id>alfresco-noauth</id> <name>Alfresco - unauthenticated access</name> <description>Access to Alfresco Repository WebScripts that do not require authentication</description> <connector-id>alfresco</connector-id> <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url> <identity>none</identity> </endpoint> <endpoint> <id>alfresco</id> <name>Alfresco - user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication</description> <connector-id>alfresco</connector-id> <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url> <identity>user</identity> </endpoint> <endpoint> <id>alfresco-feed</id> <name>Alfresco Feed</name> <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description> <connector-id>http</connector-id> <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url> <basic-auth>true</basic-auth> <identity>user</identity> </endpoint> </remote> </config></alfresco-config>
Does the share-config-custom.xml file need to be configured in 3.4a, for googledocs to work in Share ?
Thanks.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2010 04:59 AM
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/default/googledocs.properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2010 06:40 AM
For the Repository, copy the values from googledocs.properties into alfresco-global.properties outside the webapps folder (you should never change anything *inside* the webapps folder - it'll get overwritten if the war ever gets redeployed).
For Share, you can find the relevant config either in share-config.xml or share-config-custom.xml.sample
Thanks,
Mike

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 06:02 PM
Actually, there are two parts to the Google Docs configuration - Share and the Repository.
For the Repository, copy the values from googledocs.properties into alfresco-global.properties outside the webapps folder (you should never change anything *inside* the webapps folder - it'll get overwritten if the war ever gets redeployed).
For Share, you can find the relevant config either in share-config.xml or share-config-custom.xml.sample
Thanks,
Mike
Can anyone please elaborate on the steps required to get Google Docs integration working on Community edition (3.4b, nightly build from yesterday).
I tried to follow the instructions at https://docs.google.com/viewer?url=http://wiki.alfresco.com/w/images/7/78/Getting_Started_with_Using..., but it is really vague.
Also - how / where can I enable debugging for Google docs integration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2010 11:23 AM
Am also trying to configure googledocs with Alfresco 3.4a. For the Share configuration we have the share-config.xml (share-config.xml.sample). However, it does not have the section for configuring Google Docs like we had in 3.3G. Was there a change in how to configure googledocs in 3.4a?
Thank you,
Brian Wesaala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2010 01:21 PM
Thanks,
Mike

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2010 07:09 PM
It's exactly the same config, but due to some problems related to how the installers work, we couldn't include the config in the sample file any more. I think that was just a temporary issue however, so I'll see if I can get it back in to prevent confusion in the future.
Thanks,
Mike
Thanks Mike.
I never used 3.3, we upgraded from 3.2 to 3.4 - currently running 3.4b. I therefore have not had any exposure to the Google Docs integration.
Can you possibly post the config here for our convenience?
Much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 01:04 AM
In the document at https://docs.google.com/viewer?url=http://wiki.alfresco.com/w/images/7/78/Getting_Started_with_Using... it says that the file /tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml shold be edited to
Ensure that you have the Google Editable Aspect declared.Done!
Look for the Google Docs section of the file and ensure that you have the “enabled” option set to “true”
Ummm, lost … There is no such section in that file.
So, what am I missing?
Might post another noob question in a wee bit … 😃
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 04:58 AM
I'd like to point out that in 3.4a we do not have the share-config-custom.xml.sample. We only have the share-config-custom.xml, which appears to be different from the 3.3G version. For example, in the 3.4a config file there is no section for including aspects, where we're supposed to append google docs aspect:
<aspect name="gd:googleEditable" />
Also a quick look at the header information, 3.3G has the header <!– Global config section –> where as 3.4a is labeled <!– Repository Library config section –>
Much appreciation for your support on this issue.
Brian Wesaala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 08:25 AM
<!– Document Library config section –><config evaluator="string-compare" condition="DocumentLibrary" replace="true"> <!– Google Docs™ integration –> <google-docs> <!– Enable/disable the Google Docs UI integration (Extra types on Create Content menu, Google Docs actions). –> <enabled>false</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™ 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></config>
Thanks,
Mike
