Set Up Live Data Query in Tableau with JDBC Driver
- Download the JDBC driver .jar file and save the file to a local directory. See Live Data Query Downloads.
Through a JDBC connection, Live Data Query enables SQL access from Tableau to Workday business objects.
- Install the JDBC Driver in the Tableau Directory.For Tableau Desktop, copy the JDBC driver .jar file to:
- macOS : ~/Library/Tableau/Drivers/
- Windows : C:\Program Files\Tableau\Drivers\
If theDriversdirectory does not exist, create it. - (For Linux only) Set the file permissions.Ensure Tableau has permission to read the driver file:chmod 755 ~/Library/Tableau/Drivers/<driver>.jar
- Create adataservice.propertiesfile with the following configuration details using the property=value format. For sample code, see the Example section below.PropertyISUUser-As-Selfwd.authn.authModelJWT_BEARERAUTHORIZATION_CODEwd.authn.clientIdClient ID created in the Live Data Query ISU setup.Client ID created in the User-As-Self Authentication setup.wd.authn.clientSecretN/AClient secret created in the User-As-Self Authentication setup.wd.authn.isuYour ISU.N/Awd.authn.accessTokenEndpointToken endpoint created in the Live Data Query ISU setup.Example:https://{HOST1}/ccx/oauth2/{TENANT}/tokenToken endpoint created in the User-As-Self Authentication setup.Example:https://{HOST1}/ccx/oauth2/{TENANT}/tokenwd.authn.authorizationEndpointN/AAuthorization endpoint created in the User-As-Self Authentication setup.Example:https://{HOST2}/{TENANT}/authorizewd.authn.privateKeyFilePathThe full path of the private key file.
- Windows Example:C:\Users\user.name\Documents\<privateKeyFile.txt>
- Mac Example:/Users/path/to/your/private_key.pem
For a Windows machine, you must specify thewd.authn.privateKeyFilePathproperty.Thewd.authn.privateKeyandwd.authn.privateKeyFilePathproperties are mutually exclusive. If you specifiedwd.authn.privateKey, don’t specifywd.authn.privateKeyFilePath.N/Awd.authn.privateKeyPrivacy-Enhanced Mail (PEM) format text. Must include the header/footer.Thewd.authn.privateKeyandwd.authn.privateKeyFilePathproperties are mutually exclusive. If you specifiedwd.authn.privateKey, don’t specifywd.authn.privateKeyFilePath.For information about the private key, see Generate Public and Private Keys for Workday Live Data Query.N/Awd.authn.redirectURLN/Ahttps://localhost:8888/callbackIf the client is behind a proxy server, add thewd.http-proxy=<proxy-host>property in thedataservice.propertiesfile. - Launch Tableau Desktop.
- Open Tableau Desktop.
- Click .
- Enter the following information:OptionDescription (ISU and User-As-Self)URLjdbc:workday://{HOST}:443/workday_core?Note: Replace {HOST} with the {HOST1} value from the ISU or User-As-Self Authentication setup.DialectLeave it defaultUsernameLeave it blankPasswordLeave it blankProperties FileUpload the dataservice.properties file using the Browse button
- ClickSign Into open the Application.
dataservice.properties Sample Code
ISU Authentication | User-As-Self Authentication |
|---|---|
|
|