![]() |
VOOZH | about |
The CData Excel Add-In for Zoho Recruit provides formulas that can query Zoho Recruit data. The following three steps show how you can automate the following task: Search Zoho Recruit 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 Zoho Recruit data, separated by semicolons.
To authenticate to ZohoRecruit, 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 ZohoRecruit. To do so, go to the Zoho Developer Console, add a new Client (Server-based application) and set a valid OAuth redirect URL. Your OAuth application will be assigned a client id and a client secret. Additionally, you will need to set the relevant Domain (.com, .eu, .in, .com.cn, or .jp), which defaults to .com.
After setting the following connection properties, you are ready to connect:
Profile=C:\profiles\ZohoRecruit.apip;ProfileSettings='Domain=.com';AuthScheme=OAuth;InitiateOAuth=GETANDREFRESH;OAuthClientId=your_client_id;OAuthClientSecret=your_client_secret;CallbackUrl=your_callback_url;
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Attachments WHERE Module = '"&B9&"'","Profile="&B1&";ProfileSettings="&B2&";AuthScheme="&B3&";InitiateOAuth="&B4&";OAuthClientId="&B5&";OAuthClientSecret="&B6&";CallbackUrl="&B7&";Provider=API",B10)
👁 Formula inputs used in this example. (Google Apps is shown.)Connect to live data from Zoho Recruit with the API Driver
Connect to Zoho Recruit