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

Difference between revisions of "OneDrive repository"

From MoodleDocs
(ref to change of name)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Repositories}}
 
{{Repositories}}
{{New features}}
 
The Microsoft OneDrive repository (''formerly known as Skydrive'') allows  you to access your documents from Microsoft OneDrive within Moodle.
 
{|
 
|[[File:MicrosoftSkydrive.png|200pz|thumb|Microsoft OneDrive]]
 
|}
 
  
As well as adding basic files, the OneDrive repository link allows you to access your OneDrive to locate embed code for embedding presentations directly into (for example) a label or page:
+
The Microsoft OneDrive repository (''formerly known as Skydrive'') allows you to access your documents from Microsoft OneDrive within Moodle.  
{|
 
|[[File:26skydrivelive.png|thumb|Onedrive live link]]
 
|}
 
  
 +
''Note: This is the regular, free OneDrive account, NOT the OneDrive for Business, which will not work.''
 +
[[File:OD8.png]]
  
==Installation==
+
As well as adding basic files, the OneDrive repository link allows you to access your OneDrive live directly from the configuration icon.
You must register your Moodle with Microsoft in order to allow Moodle to communicate with Microsoft. You must register your application via the following steps:
 
  
# Visit the Microsoft developer centre: https://account.live.com/developers/applications
+
The first time you access the OneDrive repository, you will be prompted to agree to connect:
# Choose ‘Create an Application’ and Fill out the form with a name for your Moodle.
+
 
# Submit the form by clicking ‘I Accept’
+
[[File:OD7.png]]
# On the next page you must visit the link ‘Application Settings Page’.
+
 
# You will be shown the basic settings page, Click ‘API Setttings’ on the left.
+
Once you have agreed, you can then log in,view and use your files.
# You will be shown ‘client ID’ and ‘client secret’, these need to be stored in Moodle.
+
==Enabling the repository==
# Important: As part of the registration process, you will need to enter the url from the OneDrive settings page in the 'redirect domain' section.
+
*Go to ''Site administration > Plugins > Repositories > Manage repositories'' and enable the OneDrive repository. Then click the Settings link.
 +
*You must register your Moodle with Microsoft in order to allow Moodle to communicate with Microsoft. You must register your application via the following steps:
 +
 
 +
 
 +
* Visit the Microsoft developer centre: https://account.live.com/developers/applications. Sign in with your Microsoft account, (such as Outlook email).
 +
* Click ‘Create an Application’:
 +
 
 +
[[File:OD1.png]]
 +
 
 +
*Fill in the form with a name for your Moodle and accept the terms:
 +
 
 +
[[File:OD2.png]]
 +
 
 +
*If desired, add an organisation logo and link to your Terms of Service:
 +
 
 +
[[File:OD3.png]]
 +
 
 +
*Click to save or cancel and then click the link 'API settings' .Paste in the redirect URL you are given in ''Site administration > Plugins > Repositories > Microsoft OneDrive''
 +
 
 +
[[File:OD4a.png]]
 +
 
 +
*Click the link App Setttings:
 +
 
 +
[[File:OD6.png]]
 +
 
 +
*You will be shown ‘client ID’ and ‘client secret’. You need to paste these into the boxes in ''Site administration > Plugins > Repositories > Microsoft OneDrive''
 +
 
 +
*Once saved, users will be able to access their OneDrive files from the OneDrive repository.
  
 
==Repository capabilities==
 
==Repository capabilities==

Latest revision as of 12:41, 24 August 2015


The Microsoft OneDrive repository (formerly known as Skydrive) allows you to access your documents from Microsoft OneDrive within Moodle.

Note: This is the regular, free OneDrive account, NOT the OneDrive for Business, which will not work. OD8.png

As well as adding basic files, the OneDrive repository link allows you to access your OneDrive live directly from the configuration icon.

The first time you access the OneDrive repository, you will be prompted to agree to connect:

OD7.png

Once you have agreed, you can then log in,view and use your files.

Enabling the repository

  • Go to Site administration > Plugins > Repositories > Manage repositories and enable the OneDrive repository. Then click the Settings link.
  • You must register your Moodle with Microsoft in order to allow Moodle to communicate with Microsoft. You must register your application via the following steps:


OD1.png

  • Fill in the form with a name for your Moodle and accept the terms:

OD2.png

  • If desired, add an organisation logo and link to your Terms of Service:

OD3.png

  • Click to save or cancel and then click the link 'API settings' .Paste in the redirect URL you are given in Site administration > Plugins > Repositories > Microsoft OneDrive

OD4a.png

  • Click the link App Setttings:

OD6.png

  • You will be shown ‘client ID’ and ‘client secret’. You need to paste these into the boxes in Site administration > Plugins > Repositories > Microsoft OneDrive
  • Once saved, users will be able to access their OneDrive files from the OneDrive repository.

Repository capabilities

There is just one capability associated with this repository: repository/skydrive:view: View Skydrive