schakkalakka Posted August 19, 2014 Share Posted August 19, 2014 Hi, I'm using iReport 5.6.0 and a json datasource to generate my reports.Cant copy/paste my json here, its build like this:{ "item": { "somePeople": [{ "user": { "id": 1, "name": "Alice" } }, { "user": { "id": 2, "name": "Bob" } }, { "user": { "id": 3, "name": "Mallory" } }] } } In my mainreport I use "item" as query.After adding the list-component, the dataset1 appears.This is where I use "item.somePeople" as query. Now I'm adding the field "name", having"user.name" in description.Then I edit list datasource, using the connection expression. The designer adds the param $P{REPORT_CONNECTION}. Lastly I add the field "name" from dataset1 to my list.After compiling (no error) the list is empty.What am I doing wrong? Link to comment Share on other sites More sharing options...
blm1225 Posted July 19, 2021 Share Posted July 19, 2021 Hello there! Did you solve it 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