How to sync the document library with Dropbox, Google Drive, SharePoint, etc.
Document Library Pro can display documents which are stored in the WordPress Media Library, or third party documents which are stored in other locations such as Dropbox, Google Drive, SharePoint, etc.
This article explains how to use the plugin with third party file storage platforms like these.
Built-in options for adding third party documents
If you have a small or medium number of third party documents to add to the library, then the easiest way to add them is to do it manually. For larger numbers of documents, you can use the CSV import option to upload the third party documents in bulk. Remember to include the URL of where the document is stored in the import file.
When you update the file on the third party platform in future, then as long as the URL remains the same as when you uploaded it, your users will see the latest version when they access it from your WordPress document library. That's because the file is still being stored on the third party platform and the document library is simply linking to this.
Your WordPress document library will not update automatically if you add new files to the third party platform, or if you change other data which is displayed in the document library such as the title or description. That's because this data is only stored on your WordPress site. If you need this data to sync automatically then you can use the more advanced method described below.
Advanced method - Automatically sync the document library
If you need deeper integration/syncing, you or your developer can use REST API's to sync the WordPress document library with your files on SharePoint etc., depending on which platform you use to store the documents and whether API access is provided.
This method is the most technical and requires developer-level knowledge. Essentially, you can use a cron job that runs regularly to check for changes in the third party platform (e.g. the SharePoint library) and have those changes reflected in your document library. To do this, you will need to be familiar with the API of the third party platform as well as the REST API used by WordPress.
Please note that assistance with setting this up is not covered by our support. If you don't know how to do it then we recommend posting a job on Codeable.