Google Drive portfolio

From MoodleDocs

Google Drive can serve both as a repository from which users can "pull" files they need for their course and also a Portfolio into which they can "push" files they want to keep. Both options need to be enabled by the administrator before they are available for teachers and students.

Enabling the Google Drive portfolio

Note: In order to use the Google Drive repository an administrator must register their Moodle site with Google, as described in Google OAuth setup, and obtain a client ID and secret. The client ID and secret can then be used to configure all Google Drive and Picasa plugins.

  1. Log in as an administrator and go to Administration > Site administration > Plugins > Portfolios > Manage Portfolios
  2. Activate the Google Drive portfolio by selecting 'Enable and visible' in the dropdown menu
  3. Configure the Google Drive portfolio by entering the client ID and secret
  4. Save changes

Sending ("pushing") your files to Google Drive

You can export items such as assignments, chat and forum posts to enabled portfolios. Here is an example with a forum post:

  • In the post menu select Export to portfolio.
  • Next, select Google Drive as the destination from the dropdown. If it is the only portfolio enabled, it will be the only choice!
  • Click "Next". If you haven't done this before you will be prompted to log in to your account. Agree and log in.
  • The "export complete" message will appear. Clicking "continue" will take you to Google Drive.
  • As an example, an exported forum post will be named "post.html" It will open up like this: