Google Drive
The Google Drive integration provides access to the files you manage on Google Drive. In standard versions of Brightspot, this integration provides the following features:
- Google Doc—Can be imported into Brightspot as an article, blog post, document, or a general attachment.
- Google Sheet—Can be imported into Brightspot as sections, tags, users, spreadsheets, or as a general attachment.
- Google Presentation—Can be imported into Brightspot as a presentation.
Note
You can configure this integration so that it converts Google Drive files to content types that you have created, and not just the built-in content types that Brightspot provides. To do this, you must tie together the Google functionality to a specific content type. For details, see the .
Once imported, Brightspot checks the source file to detect any changes made after the import. If changes are made, Brightspot indicates this in the Sync widget of an asset created as a result of the import. (For details, see Re-syncing a Google Drive file.) If no changes are detected, Brightspot reports that the source file and the Brightspot asset are in sync.
Including Google Drive in a Brightspot build
The following table lists the dependencies to include in your build configuration.
Artifact | Description |
com.psddev:google-drive | Exposes the syncable widget, Google Drive integrated search, GoogleDriveSyncable interface, and UpdatableExternalItemConverter abstract class. |
Runtime prerequisites
- Developer configuration—
- Extend
UpdatableExternalItemConverter
for each content type that you want to convert fromGoogleDriveFile
. - The content type must also implement
GoogleDriveSyncable
for the synchronization to work. - For an example that converts a Google Drive file to an
Article
, see the package . For a more complicated example that converts a Google Sheet to multiple instances ofSection
orTag
, see the package .
- Extend
- Ops configuration—Configure a redirect URI and a redirect URI pattern. For details, see .
- CMS configuration—Configure the site interfacing with Google Drive. For details, see Configuring the Google Drive integration.
See also:
Previous Topic
Configuring Analytics ingestion intervals with the schedule builder
Next Topic
Configuring the Google Drive integration