![]() |
VOOZH | about |
The CData Excel Add-In for ServiceDesk Plus provides formulas that can query ServiceDesk Plus data. The following three steps show how you can automate the following task: Search ServiceDesk Plus 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 ServiceDesk Plus data, separated by semicolons.
ServiceDeskPlus uses Zoho OAuth 2.0 for secure authentication. To set up OAuth access:
After setting the following connection properties, you are ready to connect:
Profile=C:\profiles\ServiceDeskPlus.apip;ProfileSettings="Portal=itdesk;Domain=.in;Scope=SDPOnDemand.requests.READ SDPOnDemand.problems.READ SDPOnDemand.assets.READ SDPOnDemand.projects.READ";AuthScheme=OAuth;OAuthClientId=your_client_id;OAuthClientSecret=your_client_secret;
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM AnnouncementComments WHERE AnnouncementId = '"&B9&"'","Profile="&B1&";ProfileSettings="&B2&";Domain="&B3&";Scope="&B4&";AuthScheme="&B5&";OAuthClientId="&B6&";OAuthClientSecret="&B7&";Provider=API",B10)
👁 Formula inputs used in this example. (Google Apps is shown.)Connect to live data from ServiceDesk Plus with the API Driver
Connect to ServiceDesk Plus