Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve uuid in jasper report

I have some jasper report files, which I make them in iReport 3.7.5 version. It worked before, but after i decided to use iReport 5.0.0 version and made some changes into it, then it had a problem. I checked what the problem was and it said this Attribute 'uuid' is not allowed to appear in element 'jasperReport' It made me confused because there're many attributes of uuid on my report files. I guess it was built while the old version transformed to a new ones. I tried to delete all of uuid components in xml design of report files, but it ruined both its format and design. So, what kind of solution that i must take to solve this? Thanks for any reply

like image 562
syaloom Avatar asked Nov 06 '13 10:11

syaloom


People also ask

What is UUID in Jasper report?

Jasper reports use the UUID in the engine to identify elements, see for example SortElementJsonHandler. getCurrentSortField . A Friendly User (staff) at the Jasper Community forum states. UUID is used mostly for the interactive elements like tables and crosstabs to identify the elements for sorting/filtering/etc.

How do you add parameters in Jaspersoft?

To manage the parameters, use the outline view. From here is possible to add a parameter by right-clicking on the item "Parameters" and choosing "Create Parameter".


1 Answers

This worked for me: Change the compatibility of the JasperReport to 3.5.1 in Tools - Options - General - Compatibility. Now when you made a change in the designer the 'uuid' property is auto-generated in every field of the report, to remove it just save your report before open the XML view.

like image 62
CyborgNinja23 Avatar answered Sep 19 '22 01:09

CyborgNinja23