Jump to content

How to set Datasource or Database Connection in PHP Client


Recommended Posts

Hi, I need help. I am using PHP Client to generate reports for my web application to Jasper Server. My application is Multi-Tenant, so the databases are randomly generated. I need to pass the database connection at the time of generating the report, that is, I need to set the database access settings, in runtime. Using PHP client, does anyone know how to do this?

Ps .: Using the ReportUnit class of the PHP client, it seems that it is possible to set a local datasource. But in the documentation, it does not give a clear example.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...