This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Google Drive"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Installation instructions)
(Installation instructions)
Line 21: Line 21:
 
$config['googledrive_oauth2_client_id']='';
 
$config['googledrive_oauth2_client_id']='';
 
$config['googledrive_oauth2_client_secret']='';
 
$config['googledrive_oauth2_client_secret']='';
 +
$config['googledrive_simple_api_key']='';
 
</pre>
 
</pre>
  

Revision as of 12:08, 16 May 2014

The Google Drive module (Available since 4.1.25) allows you to edit your Group-Office documents with the Google editor in the browser. The following video demonstrates it.

Installation instructions

Visit https://code.google.com/apis/console and generate an API key and OAuth 2.0 credentials for your Group-Office installation. You'll need to enter a redirect URL. For this URL you must enter:

http://your.domain/groupoffice/index.php?r=googledrive/file/connect

Make sure that:

  1. The Drive API is enabled at the services page.
  2. your.domain matches the domain you login with in Group-Office and that there's no or a matching $config['full_url'] configured in Group-Office. Otherwise you'll get a login prompt and editing will fail.

Once your key is setup enter the following values in config.php:

$config['googledrive_oauth2_client_id']='';
$config['googledrive_oauth2_client_secret']='';
$config['googledrive_simple_api_key']='';

Now install the module in Group-Office at Start menu -> Modules -> Install and grant permissions.

Now editing should work by connecting your personal Google account!