subreport Json DataSource

0

Hi everybody,

I need to create a report with different subreport. This subreport are based on a part of my json datasource. I created the datasource to the json file on my report and I tried to pass this datasource to the different subreport.

When I execute my main report, I see my subreport but all the fields on the subreport are null. 

For example, in the main report I have this json datasource :

{
    title:"Main Report",
    datas:[
        {
        titleSR:"subreport 1"
        },
        {
        titleSR:"subreport 2"
        }
    ]
}

I have a subreport in detail band of my main report and I want display this subreport with each element of datas (display "subreport 1", "subreport 2")

How can i configure my datasource of my subreport ?

thank you in advance for your help 

(Sorry about my English)

 

louis.perrot_1's picture
Joined: May 20 2019 - 1:52am
Last seen: 2 weeks 6 days ago

Please post some sample JRXML files

narcism - 3 weeks 2 days ago

0 Answers:

No answers yet
Feedback
randomness