Jump to content
Changes to the Jaspersoft community edition download ×

How to use JSON/REST datasource in Input Control


simo.tuokko

Recommended Posts

Hi,

We are trying to create report against REST API which returns data in JSON format (ElasticSearch).

We have managed to get report itself working in JasperSoft Studio Pro 7.9.0 using JSON Datasource.

In JasperReport Server 7.9.0 we were unable to give required parameters for JSON Datasource so we ended up importing datasource from Studio to Server as xml. See https://community.jaspersoft.com/questions/1185171/same-parameters-json-datasource-jasper-reports-server-jaspersoft-studio

Next step would be to add Input Control (multivalue) which would be populated from the same REST-datasource. When creating Input Control in Server's UI it seems that Server does not understand that imported datasource.xml is a datasource (as it is not available in the list of datasources). And as described earlier creating the JSON-datasource with needed parameters/options in Server is not supported. 

 

So does anyone know how to use JSON/REST datasource in Input Control or some other approach for this?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...