This page outlines the steps to install and configure the CData Connect Cloud Connector for Google Sheets. After installation, Google Sheets will be able to pull data from sources that you have connected to your CData Connect Cloud account.
Note: Before you can configure and use Google Sheets with CData Connect Cloud, you must first connect a data source to your CData Connect Cloud account. See Connections for more information.
Installation and Setup
Sign in to Google Sheets and open a spreadsheet.
With a spreadsheet open, click Extensions in the navigation bar, highlight Add-ons, and click Get add-ons.
Type CData Connect Cloud into the search bar and click the CData Connect Cloud add-on.
Click Install and then Continue on the pop-up.
Select your Google account and sign in if needed. When prompted to approve the connection, click Allow.
Return to the spreadsheet. Click Extensions in the navigation bar, highlight CData Connect Cloud and click Open.
The configuration pane appears to the right of your spreadsheet. Click Authorize to sign in to CData Connect Cloud.
Enter your CData Connect Cloud credentials and click Continue.
When a success message appears, close the tab and return to Google Sheets.
After you establish a connection, the CData Connect Cloud panel shows these options:
To import data from a connected data source, click Import and follow these steps:
Select a connection from the drop-down menu.
- Select either Query Builder or Custom SQL.
- When prompted, choose to output the data in either the current sheet or a new one.
To update the imported data in your spreadsheets, click Refresh and follow these steps:
Check the boxes next to the Google Sheets spreadsheets that you want to update.
- Select a refresh option:
- Click Refresh Now to manually refresh the data as soon as possible.
- Click Auto Refresh to open a modal where you can select the auto-refresh interval in hours. Please note that this interval applies to all spreadsheets that use Auto Refresh.
- The data in the selected Google Sheets spreadsheets update with new data.
Note: If Auto Refresh is selected, a new Auto Refresh Status field appears. It lists the refresh interval and the affected Sheets. A Reset Auto Refresh button allows you to stop the auto refresh and set up a new one.
Click Logs to open a modal that lists the three most recent queries, including:
- The time and date they occurred
- Their results (success or failure)
- The contents and parameters of the queries
Advanced Query Settings
To add a filter, click the + next to the Filters header. You can add more filters by clicking the + again, and you can delete a filter by clicking the trash can icon next to it.
Each filter has three fields to fill out:
- Column—select the column from your table that you want to filter.
- Op—the operation the filter performs. Options are equals, does not equal, contains, does not contain, less than, and greater than.
- Value—the value for the filter operation.
For example, if you wanted to retrieve AccountValues above $100,000, you might set the Column to AccountValues, the Op to greater than, and the Value to 100,000. Then, when you execute the query, only results matching this filter will be returned.
As you enter your filter parameters, the Generated Query at the bottom of the pane automatically updates.
To add a sorting rule to your query results, click the + next to the Sort By header. You can add more sorting rules by clicking the + again, and you can delete a sorting rule by clicking the trash can icon next to it.
Each sorting rule requires a Column and a sorting Order (ascending or descending). If you add multiple sorting rules, the results are sorted in the order that the rules appear. The query gives highest sorting priority to the first rule, then the second rule, etc.
As you enter your sorting parameters, the Generated Query at the bottom of the pane automatically updates.