![]() |
VOOZH | about |
The CData Excel Add-In for Sugar CRM provides formulas that can edit, save, and delete Sugar CRM data. The following three steps show how you can automate the following task: Search Sugar CRM 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 SugarCRMConnection1, or a connection string. The connection string consists of the required properties for connecting to Sugar CRM data, separated by semicolons.
The User and Password properties, under the Authentication section, must be set to valid SugarCRM user credentials. This will use the default OAuth token created to allow client logins. OAuthClientId and OAuthClientSecret are required if you do not wish to use the default OAuth token.
You can generate a new OAuth consumer key and consumer secret in Admin -> OAuth Keys. Set the OAuthClientId to the OAuth consumer key. Set the OAuthClientSecret to the consumer secret.
Additionally, specify the URL to the SugarCRM account.
Note that retrieving SugarCRM metadata can be expensive. It is advised that you store the metadata locally as described in the "Caching Metadata" chapter of the help documentation.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Accounts WHERE Name = '"&B5&"'","User="&B1&";Password="&B2&";URL="&B3&";CacheMetadata="&B4&";Provider=SugarCRM",B6)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Sugar to get started:
Download NowLearn more:
👁 Sugar IconThe Sugar Excel Add-In is a powerful tool that allows you to connect with live Sugar account data, directly from Microsoft Excel.
Use Excel to read, write, and update Leads, Contacts, Opportunities, Accounts, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!