Jump to content
Changes to the Jaspersoft community edition download ×

Which is the goal of UUID attribute for Jasper elements?


silvio.araujo

Recommended Posts

Hi friends!

Every report we mount with Jasper Studio includes UUID numbers for every element. It will be very useful, if I can retrieve these elements using the generated UUID, but... is it possible? I would like to retrieve an element in a JRElement (for instance), inside a scriptlet, to manipulate it... But I could not find any method or example in that way, like: "JRElement jre = reportResource.findByUUID(<UUID>);" or something...

If it's impossible to do such a thing, why this UUID attribute exists?

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

@hozawa, that was near what I need, but not exactly... I verify that it's possible to use this getUUID() from uncompiled "jrxml" files, but not "on-the-fly". What I want is to pick an element within a scriptlet, using its UUID (or its key), to change its attributes based on data beeing processed. But I guess it is not possible...

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...