Home

Disable Google integration in 4.2. CE

You are here

9 posts / 0 new
Last post
Disable Google integration in 4.2. CE

Hello,

how can I disable the google docs integration in Alfresco 4.2 Community Edition?

I have played with the share-custom-config.xml but it seems that there is no change in the UI

Furthermore there is no Manage Aspects in the Administrator menu.

Chris

Re: Disable Google integration in 4.2. CE

In alfresco-global.properties try setting
googledocs.enabled=false (for the new google docs menu)
or
googledocs.googleeditable.enabled=false (for the old google docs integration)

disable Google Docs integration

so there's no way to disable Google Docs integration?

I've tried setting these two values and its still loading!

googledocs.enabled=false
googledocs.googleeditable.enabled=false

I still get:

10:31:16,925 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, v2]
10:31:17,018 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, v2] complete

any other ways?
thanks

Disable Google integration in 4.2. CE

Hi,

In 4.2.c (and 4.2.b), removing (or not selecting for installation) the googledocs amp from share (and from alfresco) disables googledocs. In the UI, you don't see the Edit in GoogleDocs button.

If you're using the bundle installer (alfresco-community-4.2.x-installer*), you can:

1. cd [alfresco install directory]/bin
2. java -jar alfresco-mmt.jar uninstall 'org.alfresco.integrations.google.docs ../tomcat/webapps/share.war
3. tail catalina.out and wait for share to be successfully redeployed.
4. java -jar alfresco-mmt.jar uninstall 'org.alfresco.integrations.google.docs ../tomcat/webapps/alfresco.war.war

once both alfresco and share have been redeployed, go into a document's details page. You shouldn't have the Edit in GoogleDocs button there anymore.

Does that work for you? or do you want some other effect?

Gerald

Re: Disable Google integration in 4.2. CE

Ok with this settings you can disable the Edit in Google Docs entry in the document actions.
But you still have the menu entry in the Document Library ->> Create Content ->> Create Google Docs Document , Create Google Docs Spreadsheet ...

Chris

Loftux wrote:
In alfresco-global.properties try setting
googledocs.enabled=false (for the new google docs menu)
or
googledocs.googleeditable.enabled=false (for the old google docs integration)

Re: Disable Google integration in 4.2. CE

Then I do not know.
Maybe not install the module if you do not intend to use it?

If you have used the installer you can replace the share.war files with the one in alfresco-community-4.2.a.zip from http://wiki.alfresco.com/wiki/Community_file_list_4.2.a

Re: Disable Google integration in 4.2. CE

For GoogleDocs V2: This is a limitation of the GoogleDocs V2 integration. There currently is no functionality that allows us to use evaluators in the create content menu callbacks. This means we cannot dynamically turn off the items in the create content menu. You could go into the config and comment out those menu items, by hand. We do impose a check to see if the integration is enabled or not before we attempt to create content, but this is in the actual code and not at the presentation layer like we need.

We've discussed adding them but there is no current plans to add them.

Jared Ottley
Alfresco Software Engineer
http://twitter.com/jottley - Find me on Twitter
http://jared.ottleys.net/ - My Blog

I thnk it can be disabled by

I think it can be disabled by setting googledocs.enabled=false in tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/googledocs/v2/googledocs.properties

This is so wrong!

This is so wrong!

And this solution https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/disable-create-content-google-docs-01102014 involves a .lib.js inside an include folder: no easy way to apply it through an extension... What is the point of all these configurations if half of them does not work?

Sorry if I'm too harsh, my situation is critical, I know from the beginning that I've been asked for the impossible, perhaps I'm not impartial?... but Alfresco is so not helping I want to cry.