![]() |
VOOZH | about |
The CData Excel Add-In for Salesforce Data Cloud provides formulas that can query Salesforce Data Cloud data. The following three steps show how you can automate the following task: Search Salesforce Data Cloud 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 SalesforceDataCloudConnection1, or a connection string. The connection string consists of the required properties for connecting to Salesforce Data Cloud data, separated by semicolons.
Salesforce Data Cloud supports authentication via the OAuth standard.
Set to OAuth.
CData provides an embedded OAuth application that simplifies authentication at the desktop.
You can also authenticate from the desktop via a custom OAuth application, which you configure and register at the Salesforce Data Cloud console. For further information, see Creating a Custom OAuth App in the Help documentation.
Before you connect, set these properties:
When you connect, the driver opens Salesforce Data Cloud's OAuth endpoint in your default browser. Log in and grant permissions to the application.
The driver then completes the OAuth process as follows:
For other OAuth methods, including Web Applications and Headless Machines, refer to the Help documentation.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Account WHERE EmployeeCount = '"&B2&"'","InitiateOAuth="&B1&";Provider=SalesforceDataCloud",B3)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Salesforce Data Cloud to get started:
Download NowLearn more:
👁 Salesforce Data Cloud IconThe Salesforce Data Cloud Excel Add-In is a powerful tool that allows you to connect with live Salesforce Data Cloud data, directly from Microsoft Excel.
Use Excel to read, write, and update Salesforce Data Cloud 0, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!