![]() |
VOOZH | about |
The CData Excel Add-In for Webex provides formulas that can query Webex data. The following three steps show how you can automate the following task: Search Webex 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 APIConnection1, or a connection string. The connection string consists of the required properties for connecting to Webex data, separated by semicolons.
To authenticate to Webex, and connect to your own data or to allow other users to connect to their data, you can use the OAuth standard.
First, you will need to register an OAuth application with Webex. To do so, navigate to the Webex Developer Portal and create a new integration. Your OAuth application will be assigned a client id and a client secret.
After setting the following connection properties, you are ready to connect:
Profile=C:\profiles\Webex.apip;Authscheme=OAuth;InitiateOAuth=GETANDREFRESH;OAuthClientId=your_client_id;OAuthClientSecret=your_client_secret;CallbackUrl=your_callback_url;ProfileSettings='Scope=your_scopes';
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM AdminAuditEvents WHERE OrgId = '"&B9&"'","Profile="&B1&";Authscheme="&B2&";InitiateOAuth="&B3&";OAuthClientId="&B4&";OAuthClientSecret="&B5&";CallbackUrl="&B6&";ProfileSettings="&B7&";Provider=API",B10)
👁 Formula inputs used in this example. (Google Apps is shown.)Connect to live data from Webex with the API Driver
Connect to Webex