Brightspot Integrations Guide

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 README.

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.

Google Drive files viewed in Brightspot Google Drive files viewed in Brightspot
Google Drive files viewed in Brightspot

Including Google Drive in a Brightspot build

The following table lists the dependencies to include in your build configuration.

ArtifactDescription
com.psddev:google-driveExposes 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 from GoogleDriveFile.
    • 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 brightspot.google.drive.article. For a more complicated example that converts a Google Sheet to multiple instances of Section or Tag, see the package brightspot.google.drive.sheets.
  • Ops configuration—Configure a redirect URI and a redirect URI pattern. For details, see Authenticate by using API keys.
  • 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
Tags
Was this topic helpful?
Thanks for your feedback.
Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Modules
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News