Sub-report naming warning

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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

Syndicate content