Single Report for Multiple Database (Call jasper report using PHP application)

0

Dear Team,

Im trying to find the solution for the following case.

For Ex:

Lets consider I have Rpt1 which is already available for customer1. Now I need to use the same report for Customer 2 & Customer 3 as well without recreating & republishing the same report. Now Im calling the jasper report from my PHP application. Whenever customer joins, then Im recreating the same reports which is already exist for another customer.


Note:

1. Both customer 1 & customer 2 are in Same SQL Instance & Same Jasper server as well.

2. Already the report is available in the PUBLIC folder. Still the same.

3. How to call the jasper report by passing the DataSource as parameter/arguments from PHP application?


Please let us know if any solution for this.

 

Regards,

Prakash R

prakash_4's picture
Joined: Jul 26 2017 - 10:01pm
Last seen: 3 months 2 weeks ago

Really not understand your question.

When you pass different parameters set into your report template, it will generate different reports for you.

I am Leo - 6 months 6 hours ago

2 Answers:

0

Try publishing your report inside public folder so that it can be shared between different clients. 

ruthran's picture
49
Joined: May 8 2012 - 9:19pm
Last seen: 1 month 2 weeks ago
0

Hi,

Already the report is available in the PUBLIC folder. Still the same.

Note:

Im calling the jasper report from my PHP application. Now If any customer joins, then Im recreating the same reports which is already exist for another customer.

How to call the jasper report by passing the DataSource as parameter/arguments from PHP application?

Could you please assist on this?

 

prakash_4's picture
Joined: Jul 26 2017 - 10:01pm
Last seen: 3 months 2 weeks ago
Feedback