Jump to content
Changes to the Jaspersoft community edition download ×

Add parameter to crosstab with jasper soft studio 6.3.1


eoltolina

Recommended Posts

I need to add a new parameter to a crosstab, in order to use it in a hyperlink. 

The only way that I found was directly editing the jrxml file adding the following piece of code:

...
</reportElement>
<crosstabParameter name="START_DATE">
    <parameterValueExpression><![CDATA[$P{MAIN_START_DATE}]]></parameterValueExpression>
</crosstabParameter>
 
where MAIN_START_DATE is a parameter of the main report.
In this way I was able to use START_DATE in a hyperlink, and the START_DATE parameter was shown in the crosstab parameter section in the outline of the Studio.
No "create parameter" or " add parameter" is present in that section, so it's possible to cut the parameter, or to modify it, but the only way to add the parameter is to modify the jrxml.
 
Is this correct? Is there any other section in Studio where it's possible to add a crosstab parameter
Link to comment
Share on other sites

  • 6 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...