Problem 1:We have got the error when tried to run visualize.js v. 6.0.0 based solutioin. Visualize is not defined. Please refer to the screenshot below: | [toc] |
Solution to the Problem 1:
The error is caused by a bug in the optimized version of visualize.js v. 6.0.0.
Possible workarounds for this bug:
Turn off JavaScript optimization by add following parameter to URI _opt=false so your URI for visualize.js should look like: https://localhost:8080/jasperserver-pro/client/visualize.js?logLevel=debug&_opt=false
Give a try to re-run our JavaScript optimizer, please find the details here: http://community.jaspersoft.com/documentation/jasperreports-server-ultimate-guide/v561/customizing-javascript-files
This bug was fixed in the v. 6.1.0, the upgrade to the version above can also help you to fix this problem
Problem 2:
It seems that setting the paginated flag has no effect. We are reasonably certain it is a valid parameter. Please see the code snippet below:
function exportReport(){ $scope.selectedReport.reportObj.export({ outputFormat: selectedOption.format, paginated: false } )
Solution to the Problem 2:
Pagination property is deprecated and affected by the bug.
In order to deal and manage pagination feature of your report, I would recommend to perform the upgrade to the v. 6.2.0 of the product and use a bit different property (ignorePagination) to disable pagination in your report.
For the details please refer to the community article: http://community.jaspersoft.com/wiki/visualizejs-jasperreports-server-620-and-pagination-feature
Recommended Comments
There are no comments to display.