Sub-report naming warning
Submitted by Guest on Sun, 22/06/2014 - 08:55
I happened to end up with two sub-reports in the system, each with a different Document Template name, but with the same content name. That is both the StatementItems and StatementItems-test templates both had content files named 'statementItemsTest.jxrml'
This caused me major confusion, because although I was updating the content of StatementItems-test, when I ran the report it was finding the content in StatementItems.
Moral: it is a very good idea to have the content name set to something related to the sub-report name.
I will see if I can add a note to the CSH text.
Regards, Tim G
Re: Sub-report naming warning
In hindsight, I think the template management should have been done differently.
Currently the name is used to locate a sub-report. It would have be better if relationships were used instead. This adds configuration overhead, but avoids the situation you describe above.
Re: Sub-report naming warning
Tim - I do not think we should devote any resources to changing the current setup. I will document the gotcha in the CSH.
Regards, Tim G