![]() |
VOOZH | about |
The CData Excel Add-In for Paylocity provides formulas that can edit, save, and delete Paylocity data. The following three steps show how you can automate the following task: Search Paylocity 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 PaylocityConnection1, or a connection string. The connection string consists of the required properties for connecting to Paylocity data, separated by semicolons.
Set the following to establish a connection to Paylocity:
This property is required for executing Insert and Update statements, and it is not required if the feature is disabled.
Paylocity will decrypt the AES key using RSA decryption.
It is an optional property if the IV value not provided, The driver will generate a key internally.
You must use OAuth to authenticate with Paylocity. OAuth requires the authenticating user to interact with Paylocity using the browser. For more information, refer to the OAuth section in the Help documentation.
The Pay Entry API is completely separate from the rest of the Paylocity API. It uses a separate Client ID and Secret, and must be explicitly requested from Paylocity for access to be granted for an account. The Pay Entry API allows you to automatically submit payroll information for individual employees, and little else. Due to the extremely limited nature of what is offered by the Pay Entry API, we have elected not to give it a separate schema, but it may be enabled via the UsePayEntryAPI connection property.
Please be aware that when setting UsePayEntryAPI to true, you may only use the CreatePayEntryImportBatch & MergePayEntryImportBatchgtable stored procedures, the InputTimeEntry table, and the OAuth stored procedures. Attempts to use other features of the product will result in an error. You must also store your OAuthAccessToken separately, which often means setting a different OAuthSettingsLocation when using this connection property.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM Employee WHERE EmployeeId = '"&B7&"'","OAuthClientID="&B1&";OAuthClientSecret="&B2&";RSAPublicKey="&B3&";Key="&B4&";IV="&B5&";InitiateOAuth="&B6&";Provider=Paylocity",B8)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Paylocity to get started:
Download NowLearn more:
👁 Paylocity IconThe Paylocity Excel Add-In is a powerful tool that allows you to connect with live Paylocity data, directly from Microsoft Excel.
Use Excel to read, write, and update Paylocity FALSE, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!