bhomass Posted December 7, 2015 Posted December 7, 2015 I had a report with lots input controls created. when I made some change from the studio and republish, it wiped out all my controls. How can this be? Any way to get them back?
hozawa Posted December 7, 2015 Posted December 7, 2015 Create imput control separately from the report in a separate repository folder. After upload the report, edit it and assign input controls.That said, I think Jaspersoft wants users to directly edit the report in the repository of uploading the report file after each edit. As we all know, this isn't very ideal because JasperReports Server doesn't have any version control.
bhomass Posted December 7, 2015 Author Posted December 7, 2015 Sorry, I am understanding your second sentence. what do you want to say. edit the report after publish? upload each time after modifying in studio? could you rephrase to be more clear. No matter how you explain this, save control or not, wiping out old work when publishing can not be acceptable, especially with no warning to the user at all.
zh3ntil Posted December 7, 2015 Posted December 7, 2015 I guess on studio, 'is for prompting' is checked on parameters which connect to input control. This is one of the annoying things on studio :) If 'is for prompting' is checked on a parameter, studio doesn't check if there is an input control already on server for this parameter and behave like there is no input control for parameter and create a default one. To prevent this, before publishing, unchecked the 'is for prompting' on the parameters. It won't wipe out your input controls after this.
santosh.audi19 Posted December 8, 2015 Posted December 8, 2015 When you republish your report , there will be a Screen which will displays all your report parameters ,In Jasper Studio Pro 6.1.0 you can see True(Tick mark ) beside the parameter you need to make it FalseIn Jasper Studio Pro 6.1.1 you will get a drop down having options "Overwrite" and "Ignore" you should select Ignoreand click on Next and Finish.Thanks,
bhomass Posted December 9, 2015 Author Posted December 9, 2015 thanks for the comments. I don't think we are talking about the same thing. I am talking about when you save, the dialog pops up and ask "Do you want to publish this report to JasperReports Server?" If you select Yes, then all controls are wiped out. I know that you can select No, then publish separately using the publish button, where you get all the options about which to ignore. To have the default option be wiping out hours of work seems a horrible application feature to me.
Solution Raphaël Peguet Posted January 18, 2017 Solution Posted January 18, 2017 To prevent the input controls from being overwritten or any other resources when saving the report you need to untick the 2 properties under Jaspersoft Studio settings > Jaspersoft Studio > JasperReports Server:
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now