Jump to content
We've recently updated our Privacy Statement, available here ×

Jasper Server 6.2.0 csv as datasource


eugene s

Recommended Posts

Hello!

 

I want to create a service that produces pdf from csv files. The service must have a csv and template as input and pdf as output.

 

To do that I wanted to use Jasper Server REST API. I decided to try it manually for the beginning and was quite disappointed that there was no ability to use csv as datasource. 


But creation report this way looks like a mess. Changing extension of the source csv file to xml, creation additional data provider with hardcoded link to the source file and editing template to set hardcoded link to the data provider. All of this doesn't look like proper way to generate a report from csv.

Does anybody know some easier way? Maybe commercial version of the server has some useful features?

The best solution I'd like to have is passing a bundle of csv source file and appropriate template to the server through REST API and get generated pdf. Is there something like this?

 

Thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...