Cloud Drive Integration

21st October 2022

We’ve been looking at ways we can improve the workflow of some of our clients. Schools in particular have the need to make lots of information available to pupils, parents, governors and other stake holders within the school.

We already have a document management system built into each of our DuoCMS sites. This allows images and documents to be uploaded, then added to a dynamic list within a page on the site. However not everyone within an organisation will have the access or skill set to update the website directly. With that in mind we looked to integrate with the major cloud drive providers

  • Dropbox

  • Google Drive

  • Microsoft One Drive

How Does it Work ?

We’ve added a new top level folder to our file manager. So in addition to ‘Images’ and ‘Downloads’ you now get a ‘Drives’ folder. By default we’ve added security to this so no files within are accessible, unless you override the permissions on individual folders.

Within the drives folder, any subfolder added will give you the option to link a drive from one of the supported providers. Once linked these drives work like any other folder within the websites file manager. Allowing you to

  • Upload Files

  • Download Files

  • Create New Folders

  • Rename Files

  • Cut, Copy & Paste Files

  • Delete Files

  • Set access permissions




As these drives work like any other files within DuoCMS, it’s possible to add on page dynamic lists, which list those files. But the magic to this is any update to those files within your cloud drive will be reflected immediately on your website.

GDPR Compliance

It worth noting, because we pull all the content from your cloud drive through your website, none of your website visitors data is shared with any of the drive providers. This allows the system to be GDPR compliant and safe to be used even if they decline your cookie consent banner.

Performance

To keep the system working smoothly we keep local copies of files for up to a day after they were last accessed, so we’re not relying on your cloud provider serving things up at an acceptable speed. But because low usage files are purged from the system at regular intervals using your cloud drive won’t adversely impact the space limitation on your site.

Demo

The below screencast shows off how easy it is to add a drive, then list downloads and images. We also demonstrate how updating a locally installed OneDrive updates the website listing in real-time.


A Test listing from my OneDrive

...


More Articles


This site uses cookies that enable us to make improvements, provide relevant content, and for analytics purposes. For more details, see our Cookie Policy. By clicking Accept, you consent to our use of cookies by us and third party code embedded within this site. To change your consent, click the "Update Cookie Consent" link at the bottom of the webpage at any time.