Dropbox repository: Difference between revisions

From MoodleDocs
Line 9: Line 9:


# Go to https://www.dropbox.com/developers/apps
# Go to https://www.dropbox.com/developers/apps
# 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
# Create an app, to make the app usable for more than one hundred users, you must request the app status be changed to "Production".
# Copy the app keys (scroll if necessary)
# 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."
NOTE: The only way to get App stats for Production approved is to use an acceptable App name. The App name should not contain the word "Dropbox" as it goes against Dropbox branding policy. If you do, you will be told your "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."


===Dropbox configuration===
===Dropbox configuration===

Revision as of 01:30, 5 July 2013

The Dropbox repository enables users to copy (but not link to) files from their own Dropbox into Moodle.

Enabling the Dropbox repository

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

Sign up app keys at dropbox

  1. Go to https://www.dropbox.com/developers/apps
  2. Create an app, to make the app usable for more than one hundred users, you must request the app status be changed to "Production".
  3. 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 not contain the word "Dropbox" as it goes against Dropbox branding policy. If you do, you will be told your "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."

Dropbox configuration

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. 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. Select "Core" to get the API Secret and Key. 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 and users can log in with their own Dropbox credentials to access their own Dropbox files.

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:

<mediaplayer>http://www.youtube.com/watch?v=V221JLCywWs</mediaplayer>

Repository capabilities

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

See also