carljmosca Posted December 6, 2012 Share Posted December 6, 2012 Can a REST call include an existing datasource as a parameter such as this?http://localhost:8080/jasperserver/rest_v2/reports/reports/Recently_Received.html?datasource=ds_test&user=KRH&begin_date=2012-12-04The datasource parameter seems to be ignored. Link to comment Share on other sites More sharing options...
durdisoft Posted December 21, 2012 Share Posted December 21, 2012 This would be a nice thing. I have also requirements to this issue. We have a jasper server with reports installed. An java ee web application runs reports on jasper server and get the result e.g. in pdf format. For that I use the rest - report web service (rest_v2/reports/). Until now ours reports use an sql statement to get the data for report filling. In the future I would like to assign a Datasource with the web service call. How do I do that? Is there an parameter for this? Link to comment Share on other sites More sharing options...
carljmosca Posted December 21, 2012 Author Share Posted December 21, 2012 So far I have not been able to find a parameter to specify a datasource. We have been using the JasperReports library in our own custom application server for a few years now. Specifying a datasource at runtime is required for our use case and was easy to implement (because the JasperReports library supports it). I have only briefly looked at the JasperServer source code but I would like to make some time to add such functionality if it's not in there somewhere. Any hint from a developer would be appreciated. :) Link to comment Share on other sites More sharing options...
oscar16071987 Posted April 28, 2014 Share Posted April 28, 2014 Hi guys! I have the same issue, How you send the DataSource with parameters? Best regards Oscar Romero Link to comment Share on other sites More sharing options...
newbie wan Posted November 13, 2014 Share Posted November 13, 2014 did you found the solution, guys?could you explain to me please? :)Thanks & Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now