Create a data adapter in TIBCO Jaspersoft® Studio v5.6;
Create a report using this data adapter;
Test the report in the Jaspersoft® Studio to make sure it works;
Export the data adapter;
Deploy this data adapter into TIBCO JasperReports® Server repository as XML file;
In Jaspersoft® Studio, add the following property to the report template:
<property name="net.sf.jasperreports.data.adapter" value="repo:{path to the data adapter done in step 5}"/>
Review data source properties to determine the repository path to the data adapter:
User that information to set "repo:..." value:
Test the modified report in the Jaspersoft® Studio to make sure it works;
Use the modified report template to deploy the report unit into JasperReports® Server repository without a data source;
<Using Version 6.3 and a CSV data adapter steps 9-11 were not needed>Download and extract identity.secrets_673.jar from the zip file and save it in deployed JRS WEB-INF\lib directory;
Restart server;
Test run the report in JasperReports® Server.
This approach has been tested on version 7.5 and it works. See updated WIKI article https://community.jaspersoft.com/wiki/publishing-data-adapter-jaspersoft-studio-jasperreports-server
TTC-20140811
Log in or register to post comments