mateus.msr.soares Posted September 27, 2021 Share Posted September 27, 2021 Hello how are you ? I have been using jasper soft studio to generate some simple reports, but today I need to dynamically change the DataAdapter, I have two DataAdapter and I need to change this via parameter. Can someone help me ? Example <property name="com.jaspersoft.studio.data.defaultdataadapter" value="${source}"/> Link to comment Share on other sites More sharing options...
yama818 Posted September 28, 2021 Share Posted September 28, 2021 It may not meet your requirements, but there is a way to dynamically switch the data source after uploading to the server.Attributes in Data Source Definitionshttps://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v601/attributes-data-source-definitionsI hope this is useful to you. Link to comment Share on other sites More sharing options...
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