Jasper Server File Based Data Source Problem


Hi Everyone

I need to create a report based on a simple json file based on an array. Example below.

  "data": [
    {"name": "name1"} 

1) I have tried upload the json file but couldn't find the file type "json" so I added as content-resource.
2) I changed the "applicationContext" file, commented out the dataSource type "jsonDataSource" and created a JSON Data Source based on the file I have uploaded earlier. I wasn't sure about what to set query so I wrote "data".
3) I added a test report with a title band a detail band with static text inside only, set the data source to JSON Data Source I have created.

But still the report is givng error. Thanks everyone for the help.

anil.yurtsever's picture
Joined: Sep 21 2019 - 7:47am
Last seen: 2 weeks 4 hours ago

0 Answers:

No answers yet