s.fiedeldij Posted May 24, 2023 Posted May 24, 2023 When running the report we want to set the main datasource dynamically. We want to use one report on multi sql servers. I can't how to change the datasource.Does anybody know how we can do this?
anish.rai Posted May 24, 2023 Posted May 24, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
Domenico Donofrio Posted May 29, 2023 Posted May 29, 2023 Hello s.fiedeldij,as described at the following link you can use user's profile attributes to define a parametrized datasource. When an user runs the report, the Datasource to be used will be defined dynamically accordingly to his attributeshttps://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v60/attributes-data-source-definitions Hope it helps
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now