![]() |
VOOZH | about |
The CData Excel Add-In for HubDB provides formulas that can edit, save, and delete HubDB data. The following three steps show how you can automate the following task: Search HubDB data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as HubDBConnection1, or a connection string. The connection string consists of the required properties for connecting to HubDB data, separated by semicolons.
There are two authentication methods available for connecting to HubDB data source: OAuth Authentication with a public HubSpot application and authentication with a Private application token.
AuthScheme must be set to "OAuth" in all OAuth flows. Be sure to review the Help documentation for the required connection properties for you specific authentication needs (desktop applications, web applications, and headless machines).
Follow the steps below to register an application and obtain the OAuth client credentials:
Under Scopes, select any scopes you need for your application's intended functionality.
A minimum of the following scopes is required to access tables:
To connect using a HubSpot private application token, set the AuthScheme property to "PrivateApp."
You can generate a private application token by following the steps below:
To connect, set PrivateAppToken to the private application token you retrieved.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM NorthwindProducts WHERE Id = '"&B6&"'","AuthScheme="&B1&";OAuthClientID="&B2&";OAuthClientSecret="&B3&";CallbackURL="&B4&";InitiateOAuth="&B5&";Provider=HubDB",B7)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for HubDB to get started:
Download NowLearn more:
👁 HubDB IconThe HubDB Excel Add-In is a powerful tool that allows you to connect with live HubDB data, directly from Microsoft Excel.
Use Excel to read, write, and update HubDB 0, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!