mohdshadab
Programmer
I need help regarding exporting a report in which parameters are passed.
I am using stored procedures for generating the report. I am calling the stored procedure in my .rpt file.
I need to pass the parameters from jsp and export the report.
I have been able to do this using the ReportExportControl Class but I need to do this using the ReportClientDocument Class because in the first method for exporting the report one has to call the method
getHtmlContent(request, response, request.getSession().getServletContext()) which takes the input as request and response.
I have to generate the reports asynchronously and hence there would be no request and response objects available, so I need to do this by using ReportClientDocument Class.
I have successfully exported the reports in which no parameters are passed using ReportClientDocument class but when trying the same technique with parameterised export, I am getting the error
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Missing parameter values.---- Error code:-2147217394 Error code name:missingParameterValueError
I am able to set the parameters and also able to retreive their value before calling the export method but this error comes at the point where I am calling the export method of PrintOutputController class.
I am using stored procedures for generating the report. I am calling the stored procedure in my .rpt file.
I need to pass the parameters from jsp and export the report.
I have been able to do this using the ReportExportControl Class but I need to do this using the ReportClientDocument Class because in the first method for exporting the report one has to call the method
getHtmlContent(request, response, request.getSession().getServletContext()) which takes the input as request and response.
I have to generate the reports asynchronously and hence there would be no request and response objects available, so I need to do this by using ReportClientDocument Class.
I have successfully exported the reports in which no parameters are passed using ReportClientDocument class but when trying the same technique with parameterised export, I am getting the error
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Missing parameter values.---- Error code:-2147217394 Error code name:missingParameterValueError
I am able to set the parameters and also able to retreive their value before calling the export method but this error comes at the point where I am calling the export method of PrintOutputController class.