How to add subreports, charts and tables at run time in main report

0

Dear All,

I have to create a report having charts, tables, running text and subreports.

i have to create table using json file.  I have 4-5 json files.  All are different.

It might be possible that i have to add 1 json file 2 times or 3 times and the other one only 1 time.  Not sure to add all json file also, but atleast one will be there.

The same thing is with charting.  For that also we have json/csv files.

So can we add tables and charts at run time as per user requirement.

 

I can do one thing that for every table and chart i can create a sub report.

But in this case i need to add sub reports at run time.  Same possibility is that 1 sub report can be add no of times or 0 time.

Which subreport have to add it totally dependent at run time.

I am calling jasper reports using REST API from Asp.Net Web application.

Please provide me a solution for the same.

admin.vizexperts's picture
Joined: Feb 25 2014 - 2:53am
Last seen: 7 years 6 months ago

3 Answers:

0

You'll have to add them during design but you can set conditions to display them or not dynamically based on conditions.

hozawa's picture
75930
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 years 4 months ago
0

Thanks Hozawa for your answer.

I was also thinking the same way.   But there is one problem, as i said  that user need to add same subreport/table no of times with diff values on same report.

How we will manage this requirement.

admin.vizexperts's picture
Joined: Feb 25 2014 - 2:53am
Last seen: 7 years 6 months ago
0

Is it possible with Java API?

admin.vizexperts's picture
Joined: Feb 25 2014 - 2:53am
Last seen: 7 years 6 months ago

Guys please answer it as it is very important for me.

admin.vizexperts - 7 years 6 months ago
Feedback
randomness