Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: Google Drive repository.

Google Drive repository: Difference between revisions

From MoodleDocs
m (removing note about 2.5)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Repositories}}
{{Repositories}}
Google Docs can serve both as a repository from which users can "pull" files they need for their course and also a [[Google Docs portfolio|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.
Google Drive can serve both as a repository from which users can "pull" files they need for their course and also a [[Google Docs portfolio|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 Docs repository==
==Enabling the Google Drive repository==


Note: In order to use either the Google Docs or Picasa repositories (also the Google Docs or Picasa portfolios) an administrator must register their Moodle site with Google, as described in [[Google OAuth 2.0 setup]], and obtain a client ID and secret. The client ID and secret can then be used to configure all Google Docs and Picasa plugins.
Note: In order to use either the Google Drive or Picasa repositories (also the Google Drive or Picasa portfolios) an administrator must register their Moodle site with Google, as described in [[Google OAuth 2.0 setup]], and obtain a client ID and secret. The client ID and secret can then be used to configure all Google Docs and Picasa plugins.


# Log in as an administrator and go to ''Settings > Site administration > Plugins > Repositories > Manage Repositories''
# Log in as an administrator and go to ''Administration > Site administration > Plugins > Repositories > Manage Repositories''
# Activate the Google Docs repository by selecting 'Enable and visible' in the dropdown menu
# Activate the Google Drive repository by selecting 'Enable and visible' in the dropdown menu
# Configure the Google Docs repository by entering the client ID and secret
# Configure the Google Drive repository by entering the client ID and secret
# Save changes
# Save changes


==Getting ("pulling") your files from Google Docs==
==Getting ("pulling") your files from Google Drive==
* From the file picker, click on the Google Docs link and a prompt to log in will appear:
[[File:newgoogledocs.png]]
* Click the "grant access" button to log in
* Your files will display for you to choose from.
*You can view them in tree ways by clicking one of the options at the top right.


:Icon view:
* From the file picker, click on the Google Drive link and a prompt to log in will appear:


[[File:googledocsrepothumb.png]]
*  If it is your first time, the click the "Allow access" button to log in


:Table view (with file details):
{|
| [[File:newgoogledocs.png|thumb|Log into your account]]
| [[File:newgooglepermission.png|thumb|Allow access]]
|}


[[File:googledocstableview.png]]
* Your files will display for you to choose from.
 
*You can view them in three ways by clicking one of the options at the top right.
:List view:


[[File:googledocslistview.png]]
{|
| [[File:googledocsrepothumb.png|thumb|Icon view]]
| [[File:googledocstableview.png|thumb|Table view]]
| [[File:googledocslistview.png|thumb|List view]]  
|}


==Repository capabilities==
==Repository capabilities==


There is just one capability, [[Capabilities/repository/googledocs:view|View google docs repository]], which is allowed for the default authenticated user role.  
There is just one capability, [[Capabilities/repository/googledocs:view|View Google Drive repository]], which is allowed for the default authenticated user role.  


[[Category:Site administration]]
[[Category:Site administration]]


[[de:Google Docs Repository]]
[[de:Google Drive Repository]]
[[es:Repositorio Google Drive]]

Latest revision as of 13:37, 3 February 2016

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 repository

Note: In order to use either the Google Drive or Picasa repositories (also the Google Drive or Picasa portfolios) an administrator must register their Moodle site with Google, as described in Google OAuth 2.0 setup, and obtain a client ID and secret. The client ID and secret can then be used to configure all Google Docs and Picasa plugins.

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

Getting ("pulling") your files from Google Drive

  • From the file picker, click on the Google Drive link and a prompt to log in will appear:
  • If it is your first time, the click the "Allow access" button to log in
Log into your account
Allow access
  • Your files will display for you to choose from.
  • You can view them in three ways by clicking one of the options at the top right.
Icon view
Table view
List view

Repository capabilities

There is just one capability, View Google Drive repository, which is allowed for the default authenticated user role.