Jump to content
We've recently updated our Privacy Statement, available here ×

Conditional publishing strategy for subreports


kammerjäger87

Recommended Posts

Hello folks,

I have a question about publishing reports with several subreports. Some of these subreports are local files and the other subreports are on the server and use a "repo:/..." expression.

If I want to publish a report, I have to select a publish strategy for all subreports. Is it possible to make the preselected strategy dependent on a condition? I would prefer to configure everything so that the local subreports are set to "Overwrite" by default and "Ignore" is always preselected for the subreports on the server (with "repo:/..." expression). Is this possible in general?

Thank you for the feedback and best regards

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
 

Link to comment
Share on other sites

  • 2 weeks later...

Hi, could you please elaborate more on what are you trying to accomplish, and the reasons behind this requirement? 

Generally, if you want your subreports to have dynamic path, you can use Customer expression (Expression editor) when you select your subreport from your main report. You can then have a dynamic path based on a variable, parameter....This way you'll be able to fix your publishing strategy and you'll make sure that the desired subreport will be picked. 

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