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: Dropbox repository.

Dropbox repository: Difference between revisions

From MoodleDocs
(repository capabilities)
mNo edit summary
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Repositories}}
{{Repositories}}
The Dropbox repository enables users to copy files from Dropbox into Moodle.  
The Dropbox repository enables users to copy or create a shortcut or alias to files from ''their own'' Dropbox. See [[Working with files]] for more details.


==Enabling the Dropbox repository==
==Enabling the Dropbox repository==


The Dropbox repository may be enabled by a site administrator in ''Settings > Site administration > Modules > Repositories > Manage repositories''.
The Dropbox repository may be enabled by a site administrator in ''Administration > Site administration > Plugins> Repositories > Manage repositories''.


===Sign up app keys at dropbox===
===Dropbox configuration===
Once enabled the administrator will need to add a Dropbox API Key and Secret.  To get one, click on the "Dropbox Developers" link on the Dropbox repository settings page and follow the instructions below.


# Go to https://www.dropbox.com/developers/apps
===Getting sign up app keys at Dropbox===
# Create an app, you must change app status to Production. This feature is only availble for new API developers, but not for Moodle repository users. See MDL-26949
# Copy the app keys (scroll if necessary)


NOTE: The only way to get App stats for Production approved is to use an acceptable App name. The App name should be something like "Moodle With Dropbox" - with dropbox is the key part of the name (can't just use dropbox). Otherwise, you'll receive an email that says "Your app name does not follow Dropbox branding guidelines (found here: https://www.dropbox.com/developers/branding ). Please choose a new name and submit a request to change your app name to api-program@dropbox.com."
*Click the "Dropbox Developers" link to go to https://www.dropbox.com/developers/apps and sign in.
* Click on "Create an app" and select "Dropbox API app":
[[File:dropboxapinew.png|center]]
*Choose the following:
** "Files and datastores"
** "My app needs access to files already on Dropbox
** "All file types"
[[File:dropboxsettings.png|center]]


===Dropbox configuration===
*Give your app a name. (Make sure your app name does not contain the word "Dropbox". See note below.)
Once enabled by the administrator, a Dropbox API Key and Secret will need to be added to the Dropbox settings in order for it to work.  This will be ''the'' Dropbox available to all users throughout the site (and each will need the correct Dropbox login credentials to access it from their courses). To gather the Dropbox API Key and Secret click the "Dropbox Developers" link on the Dropbox repository settings page.  On the next page you'll be prompted to login with your Dropbox username and password and to create a Dropbox app.
* Copy the app keys to Moodle and save your changes.
* Please note that to make the Dropbox repository available to more than one hundred users on your site, you will need to request that your status be changed to "Production". Follow the link on Dropbox which allows you to make that request.


Once the App has been created at Dropbox.com you'll have the API Secret and Key available at the bottom of the App page.  Entering those on the Dropbox settings page (and clicking Save) back in Moodle will finish the configuration.  Dropbox is now available to the entire site.
NOTE: Your app name cannot contain the word "Dropbox" as it goes against Dropbox branding policy (found here: https://www.dropbox.com/developers/branding). For quick approval of of your app to production status you are advised to completely follow the guidelines in the branding policy.


To access it editing teachers need only "Add..." a new file while editing or creating a resource to see Dropbox as a new option.


Import files from Dropbox into Moodle 2.0 video:
To select a file via Dropbox, editing teachers will click on the Dropbox link in the file picker and log on to access the files in their account. They will see a message requesting access:
[[File:dropboxlogin.png|center]]


<mediaplayer>http://www.youtube.com/watch?v=V221JLCywWs</mediaplayer>
When they are done, they can log out.


==Repository capabilities==
==Repository capabilities==
Line 31: Line 38:
==See also==
==See also==


* MDL-26949 - Dropbox repository - only app creator can use the dropbox but no other user in dropbox development mode
* [http://www.somerandomthoughts.com/blog/2012/10/23/using-dropbox-repository-with-moodle/ Using Dropbox Repository with Moodle] blog post by Gavin Henrick


[[de:Dropbox Repository]]
[[de:Dropbox Repository]]
[[ja:Dropbox]]
[[ja:Dropbox]]

Latest revision as of 15:26, 6 March 2015

The Dropbox repository enables users to copy or create a shortcut or alias to files from their own Dropbox. See Working with files for more details.

Enabling the Dropbox repository

The Dropbox repository may be enabled by a site administrator in Administration > Site administration > Plugins> Repositories > Manage repositories.

Dropbox configuration

Once enabled the administrator will need to add a Dropbox API Key and Secret. To get one, click on the "Dropbox Developers" link on the Dropbox repository settings page and follow the instructions below.

Getting sign up app keys at Dropbox

dropboxapinew.png
  • Choose the following:
    • "Files and datastores"
    • "My app needs access to files already on Dropbox
    • "All file types"
dropboxsettings.png
  • Give your app a name. (Make sure your app name does not contain the word "Dropbox". See note below.)
  • Copy the app keys to Moodle and save your changes.
  • Please note that to make the Dropbox repository available to more than one hundred users on your site, you will need to request that your status be changed to "Production". Follow the link on Dropbox which allows you to make that request.

NOTE: Your app name cannot contain the word "Dropbox" as it goes against Dropbox branding policy (found here: https://www.dropbox.com/developers/branding). For quick approval of of your app to production status you are advised to completely follow the guidelines in the branding policy.


To select a file via Dropbox, editing teachers will click on the Dropbox link in the file picker and log on to access the files in their account. They will see a message requesting access:

dropboxlogin.png

When they are done, they can log out.

Repository capabilities

There is just one capability, View a Dropbox folder, which is allowed for the default authenticated user role.

See also