Input control overrides as I publish reports to Jasper Server

-1

I have a parameter which I want to populate using sql query i.e. Single Select-Query Input Control.

It works fine, when I publish my report, with simple parameter acct_id, and and replace the input control on Jasper Sever as acct_id with Single Select Query.

But the problem comes when I edit the same report and upload it again, the Single Select Query Input Control is replaced by the simple parameter from my report.

And I have to again, override the parameter as a Single Select Query Input Control. And I am using the input control for multiple reports it is LOTS of useless replication and redundency doing the same time 5-6 times over.

Any solutions to this problem? I have not been able to find the answer in the Answers on this website yet.

zuhayer171288's picture
Joined: Nov 3 2015 - 3:16am
Last seen: 3 years 6 months ago

@zh3ntil
I will check this tomorrow and get back to you.
 

zuhayer171288 - 3 years 6 months ago

2 Answers:

3

Alternatively you may want to disable the possibility to publish and overwrite resources when saving a report.

To prevent the input controls or any other resources from being overwritten when saving the report you need to untick the 2 properties under Jaspersoft Studio settings > Jaspersoft Studio > JasperReports Server:

 

rpeguet's picture
5642
Joined: Mar 8 2011 - 2:06am
Last seen: 1 day 1 hour ago
1

Hi,

Uncheck the 'is for prompting' of acct_id parameter from studio. Next time you will publish the report, jaspersoft studio will ignore it. 

zh3ntil's picture
531
Joined: Nov 19 2014 - 11:02pm
Last seen: 3 years 4 days ago
Feedback
randomness