vmehta Posted March 14, 2011 Share Posted March 14, 2011 Hi,I am working on JasperServer 3.7.1 and I am facing issue in getting default parameter value.I saw many unanswered posts on the same issue but no concrete answer.Following is my use case:1. We have integrated JasperServer Pro with our web application.2. Created parameterized report in JasperServer and using WSClient fetching report to get the default value of a parameter specified in the report, For example in Employee Report I specified 2 parameters i.e. Name , Age.3. I am using WSClient .java to run report in my web application, I am not able to get the default values which is required for application to launch the report. Following is the piece of code I tried, but I am getting selectedValues as empty everytime. Code: Post Edited by vmehta at 03/14/2011 10:46 Link to comment Share on other sites More sharing options...
vmehta Posted March 14, 2011 Author Share Posted March 14, 2011 I saw one post that is answered by Sherman from Jaspersoft."There will be a default value for the input control returned in the get operation, but this is not the defaultExpression defined in the underlying JRXML of the report. This sounds like something we need to add."Is that mean there is no support of fetching default parameter value in JasperServer 3.7.1, if it is true, then when should we expect this feature.Note: I am not using iReport Designer, I am creating reports from JasperServer itself. 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