#1 2025-09-24 03:09:07

nitien
Member
Registered: 2025-09-23

Support for multiple datasources

hello ,
We are currently evaluating ReportServer for our reporting requirements. We plan to migrate our existing Jaspersoft reports to ReportServer. One of our Jasper reports includes a sub-report, where the main report connects to one database and the sub-report connects to another.

Does ReportServer support this kind of multi-database reporting structure? If so, how can we achieve it?

A quick response would be greatly appreciated.

Thanks ,
Nitin

Offline

#2 2025-09-24 08:42:16

IF_Jasmin
Moderator
Registered: 2024-11-14

Re: Support for multiple datasources

Hello,

Unfortunately, this isn't possible directly.

The best way to solve this is through scripting.
You could try changing the DSs for the subreports if there's a suitable hook.

According to the developers, you could try this:
https://reportserver.net/api/latest/jav … nHook.html

Here you can access the subreports and change the DSs.

Best regards
Jasmin

Offline

Board footer

Powered by FluxBB