Page 1 of 1

How to use and update base template in Reports.JS?

Posted: Thu Sep 30, 2021 8:31 am
by mtecnic
Hello,
I have a lot of reports that will share the same base (footer with some text, header with company logo...), I would like to create base templates that reports will inherit from. When starting the designer, I should be able to choose between the base templates I created. I know this can be done customizing the report panel to show the base templates I created.
The problem that I have is that if I want to change something from one of the base template (example: I want to move a little bit the logo on the header, or I want to increase the font size of the name of the company...), all the templates that used the base template should change, is this possible?
I know there is the master report field which I assume is where I should put the base template when creating a new template, the problem is that it doesn't work in Report JS, also I'm not sure that using the master report would update all the report that use the base template.

Thanks!

Re: How to use and update base template in Reports.JS?

Posted: Fri Oct 01, 2021 12:06 pm
by Lech Kulikowski
Hello,

Unfortunately, inherited reports are not available in the JS version.
As a way, you can try to use SubReports for headers/footers.

Thank you.

Re: How to use and update base template in Reports.JS?

Posted: Mon Oct 04, 2021 7:56 am
by mtecnic
I see, is it planned?
Thanks for your response!

Re: How to use and update base template in Reports.JS?

Posted: Mon Oct 04, 2021 10:02 pm
by Lech Kulikowski
Hello,

Unfortunately, at the current moment, no.

Thank you.

Re: How to use and update base template in Reports.JS?

Posted: Wed Oct 06, 2021 8:44 am
by mtecnic
Hello,
Oh, it's unfortunate, you know if there is some way around to have a base report that others reports as and when this report is changed (for example adding a new band) all the other reports update?

Re: How to use and update base template in Reports.JS?

Posted: Wed Oct 06, 2021 10:58 am
by Lech Kulikowski
Hello,

Unfortunately, no. You should modify all reports manually or from code.

Thank you.