Parameters in Ad-hoc Reports

0

Hi,  we upgraded from version 6.2 to 6.4 ;

In Jaspersoft Studio 6.4, when opening an Ad-hoc Report ( a crosstab with some input controls) generated with the Jasperreport server,  there is no more button 'create parameter' when expanding the crosstab in  the structure panel. In version 6.2 i used to create parameters referring to the input controls both in the report and crosstab panel, then passing them to the drill down report using  'report_execution'  hyperlink

They have to be hardcoded in the jrxml or there is another way to create them?

The goal is to pass parameters from an ad hoc report to a drill down report using  'report_execution'  hyperlink.

 

 

 

chiricoluca87's picture
Joined: Apr 11 2014 - 12:40am
Last seen: 3 weeks 6 hours ago

1 Answer:

0

This is a regression defect and is targeted to be fixed in the upcoming major release of Studio. In 6.3, the "Create Parameter" is there in the menu option for Crosstab. but not in 6.4 

Workaround is to manually put it in the source code tab and then the parameter will appear in the structure pane :

<crosstab>
    <reportElement ...>
    </reportElement>
    <crosstabParameter name="ParameterTest1">
        <parameterValueExpression><![CDATA["test"]]></parameterValueExpression>
    </crosstabParameter>

vchiem's picture
6915
Joined: May 1 2017 - 5:33pm
Last seen: 12 hours 40 min ago
Feedback
randomness