eXo Add-on in Action: Connecting your Google Drive to eXo Platform

eXo Platform Blog

Thinking about the new features that modern enterprises would like to have in the cloud, we on Cloud Workspaces, realized that to begin with it’s about what users use everyday. It’s files—your and my texts, notes, tables, diagrams and, sure, photos and videos. And there are already many online file storage options for the end user. DropBox is one of the well-known pioneers, with the biggest collection of personal users. Consumers of Apple have the iCloud, fans of Amazon have theirs Cloud Drive, Microsoft have announced SkyDrive, and corporate users also have Box.net or even use custom file stores.

Drive in cloud from Google wasn’t a surprise on the market. Every Google user could have expected it, even if they didn’t know it would happen. It is useful and ultimately very simple to use, with a single login for all your apps such as Gmail, Calendar and, for many users, Documents.

Do you have a Google account? Then Cloud Workspaces has news for you. You can expose your Google Drive files on your Cloud Workspaces social intranet. Let’s look at a few simple examples of how you can benefit from both Cloud Workspaces and Google Drive.

How to Sign up to Cloud Workspaces

  • Enter your corporate email on eXo Cloud Workspaces
  • Check your email box for an invitation.
  • Click the link in the invitation and submit the form.
  • Your social intranet is created, usually within 10–15 minutes.
  • Finally you’ll receive one more email message welcoming you, with a link to log in. Use it and log in with the name given in your email (user_name in user_name@your-company.com).
  • Go through the first login wizard—now you have own intranet in the cloud.

Connect Google Drive in Personal Documents

As a user of social intranet you have several apps, and Documents is one of them. It is based on eXo Platform Content Explorer and provides an explorer-like way to navigate through the intranet documents repository. Use the Apps menu to open your documents.

There are only files in the repository, and by default the app shows the personal documents of the current user. If you are not in it, click on the sidebar title “Personal Documents” on the left, and this will navigate to the root of your personal folder. There are predefined sets of folders—Videos, Favorites, Public etc. Find the “Connect your Google Drive” button. It will connect Google Drive here as a new folder.

Click “Connect your Google Drive” and allow Cloud Workspaces app in Google’s “Request for Permission” window. It requires authentication to Google; finally it will be closed and the connect process will be started in the Document app.

Connection takes some time, depending on the number of files in your drive. A notification will inform you of progress and you will receive a greeting once it is complete. After this you can browse your connected files.

The only thing you need to know about the Google Drive connection in >Cloud Workspaces is that all your files stay on Google. We only keep “links” to them and let you and Google care about security, capacity, and formats. But what we are providing are extra tools for working on your organization’s files.

Each file from Google can be viewed inside the Documents explorer or be opened in a new window on Google. To open a file, double click it in the files list or click it in the tree on the sidebar. To open a file on Google, use the context menu or link from the file view.

For most Google formats editing is also available directly from Cloud Workspaces, the single place where you can keep your organization’s files. To switch to edit mode, click Edit link on the right from the file title.

If you find you don’t need a connected Google Drive anymore, just remove its folder from the Personal Documents. Such removal will not remove anything from your Google Drive. It will only remove the link to your drive from Cloud Workspaces and later you can connect it again the same way you did before.

Keep the Connection to Google Drive Up To Date

While the drive is connected just as a “link” to the actual files on Google, there is no need to care about the file content. But the drive itself should be synchronized from time to time to show your actual file list (the folders structure on the drive needs to be updated).

Use the context menu on the drive folder to start the synchronization with the Google service. It will run in the background and a notification with a summary of the updates will be shown on completion.

Link Google Document from Intranet Folders

Having your files in the Documents app you can use them with the collaboration features that Cloud Workspaces provides. One of the most interesting and at the same time simple tools is symlinks. They are similar to what users have on their operating systems. And using them you can link files from your Google Drive to others folders in the intranet repository.

There are several ways to create a symlink. The simplest, if you use Chrome or Safari, is to use drag-and-drop with Ctrl+Shift on Windows or Linux (Control + Shift on Mac OS X). Select your file from the right list and drag it to the target folder in the tree, press Ctrl+Shift and place on the target.

Another way to create a symlink is to use the context menu action “Add Symlink” on a target folder. In open dialog select your file in “Path Node”.

Personal Documents lies in the user’s private folder. In the example I selected Shared with CW file: /Users/p___/pe___/pet___/peter.nedonosko/Private/Google Drive – pnedonosko@exoplatform.com/Shared with CW.

You also can customize the resulting link name here. Click “Save” to create a symlink.

Favorites work in the same way. But it’s even simpler to create it. Just hit “Add to Favorite” from the context menu on the file or folder and it will appear as a symlink in the predefined Favorites folder inside your Personal Documents.

Use Google Document in Documents app

As you delve deeper into the Documents app you’ll find the Tag and Watch/Unwatch menu on your file from your Google Drive.

Watching allows you to be kept informed of file updates via email.

Tagging files allows you to put them in groups in common with the intranet’s files. Tags can be private (only yours) or public (shared across your organization or internal group). And tagged files can be viewed via Tag Cloud in the Documents explorer.

If you are the creator of social intranet on Cloud Workspaces you have additional options, such as custom actions, access to all file properties, relations management, and audit of your files.

And finally you can search across all your files from Google Drive.


Google Drive integration in Cloud Workspaces opens a new door for collaboration in organizations or corporate teams. But it’s not just a single door you can open today. Previously another eXo add-on, eXo Google Drive extension, was launched. This add-on lets you do something else—edit your documents from eXo Platfrom in Google Docs. This leverages the multi-user editing capabilities of Google Documents. This add-on is not yet enabled in Cloud Workspaces, but if you find this interesting too, let us to know. Leave comments in this blog or even sign up to Cloud Workspaces—try the integration and leave your thoughts in the feedback widget.

There are many opportunities these days and Cloud Workspaces is the right place to start to evaluate what the eXo Platform can bring to the table, with its Social, Content and Collaboration apps. And now we have a tool to allow you to work with your files on Google Drive.

Related Posts
  1. Forked from your git, compiled, and deploed on my demo eXo PLF 3.5.6 (tomcat/mysql).

    There’s the UIActionBar Action “Connect your Google Drive”, but it does nothing. Log says:

    Error rendering Connect to Google Drive component: No such provider ‘gdrive’

    why ?

  2. Hi! It looks that CloudDriveService has not yet fully configured. It’s what I have to described in the documentation.
    At first you need a project for your site in Google API console. Then enable Drive API and SDK for it and create API Access keys.
    After this configure three fields for CloudDriveService via JVM parameters (in your app server startup script for example): clouddrive.google.client.id and clouddrive.google.client.secret it’s what you have in Google’s API Access as Client ID and secret, then ensure that in API Access your host names are match, use the same hots as third parameter clouddrive.service.host of CloudDriveService.
    Don’t hesitate to ask again if this will not work for you.

  3. It’s in reality a nice and helpful piece of information. I’m glad that you shared this helpful information with us.

    Please stay us informed like this. Thank you for sharing.

  4. Hi there I am so grateful I found your blog page, I really found you by mistake, while I was searching on Aol for something else, Anyways I am here now and would just
    like to say thanks for a tremendous post and a all round exciting
    blog (I also love the theme/design), I don’t have time
    to read through it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to
    read more, Please do keep up the excellent work.

  5. Greetings! Very useful advice in this particular post!
    It is the little changes that produce the biggest changes.
    Many thanks for sharing!

  6. At this moment I am going away to do my breakfast, after
    having my breakfast coming over again to read more

  7. We are a gaggle of volunteers and opening a brand new scheme in our community.
    Your website provided us with helpful info to
    work on. You’ve done an impressive activity and our whole neighborhood shall
    be thankful to you.

  8. Good web site you’ve got
    It’s difficult to find high-quality writing like yours nowadays.
    I honestly appreciate people like you! Take care!!

  9. My brother recommended I might like this blog. He was entirely right.
    This post truly made my day. You cann’t imagine simply
    how much time I had spent for this info! Thanks!

  10. Howdy! I know this is kinda off topic however , I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa?
    My website discusses a lot of the same topics as yours and
    I believe we could greatly benefit from each other.
    If you are interested feel free to shoot me an email.

    I look forward to hearing from you! Great blog by the way!

  11. Hi there to every body, it’s my first pay a quick visit of this blog; this webpage consists of remarkable and in fact good information in support of visitors.

  12. Hi to all, it’s in fact a pleasant for me to go to see this web site, it contains priceless Information.

  13. Great web site you’ve got here.. It’s difficult to find excellent writing like
    yours these days. I honestly appreciate individuals like you!
    Take care!!

  14. What’s up, its pleasant article regarding media print,
    we all understand media is a impressive source of facts.

  15. obviously like your web site but you need to take a look at the spelling on several of your posts.
    Many of them are rife with spelling issues and I in finding it very troublesome to tell the truth however I will definitely come back again.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>