![]() |
VOOZH | about |
The CData JDBC driver for Adobe Target data enables access to live data from dashboards and reports. This article shows how to connect to Adobe Target data as a JDBC data source and publish reports based on Adobe Target data in Pentaho.
Create a new data source with the driver by clicking Data -> Add Data Source -> Advanced -> JDBC (Custom) and then creating a new Adobe Target connection. In the resulting dialog, configure the connection properties as shown below.
Custom Connection URL property: Enter the JDBC URL. This starts with jdbc:adobetarget: and is followed by a semicolon-separated list of connection properties.
To connect to Adobe Target, you must provide the Tenant property along with OAuth connection properties mentioned below. Note that while other connection properties can influence processing behavior, they do not affect the ability to connect.
To determine your Tenant name:
You must set AuthScheme to OAuthClient for all user account flows.
Note: Adobe authentication via OAuth requires updating your token every two weeks.
Obtaining the OAuth Access Token
Set the following properties to connect:
With these settings, the provider obtains an access token from Adobe Target, which it uses to request data. The OAuth values are stored in the location specified by OAuthSettingsLocation, ensuring they persist across connections.
For assistance in constructing the JDBC URL, use the connection string designer built into the Adobe Target JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.adobetarget.jar
Fill in the connection properties and copy the connection string to the clipboard.
๐ Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)When you configure the JDBC URL, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
Below is a typical JDBC URL:
jdbc:adobetarget:Tenant=mycompanyname;InitiateOAuth=GETANDREFRESH;
You are now ready to create a report with Adobe Target data.
Add the Adobe Target source to your report: Click Data -> Add Data Source -> JDBC and select the data source.
Configure the query. This article uses the one below:
SELECT Id, Name FROM Activities WHERE Type = 'AB'๐ The query to retrieve data, specified in the JDBC data source configuration wizard. (Salesforce is shown.)
Download a free trial of the Adobe Target Driver to get started:
Download NowLearn more:
๐ Adobe Target IconEasily connect Java applications with real-time data. Use Adobe Target to manage the data that powers your applications.