An error occurred while rendering document from template. Template does not contain named ranges

Hi,

I am getting the following issue while running the report :
An error occurred while rendering document from template. Template does not contain named ranges.

template
Report structure 3
Report structure 2
report structure 1
parameters

Thanks in advance

If use XLSX template - Each report band must have a corresponding region in the template, which is named the same as the band…
See in documentation: Report Template :: Jmix Documentation

Did you create named ranges in the report template file?

Hi,

I tried reading the document and have done as much as I could understand.
Can you tell by the screenshots what is wrong or if possible can you provide with an example of what you are telling.

Sorry for the trouble.

Thanks in advance

I think your XLSX template doesn’t have named ranges.
It’s impossible to be 100% sure from the screenshots, but the error message says something like this.
A small test project from you with a demonstration of your problem would be helpful.

Here is an example of my report on the XLSX template.
image

If the report has a TimeEntrys band, then a named range with that name must be created in the template.
image

3 Likes

Thank you once again.

It really helped a lot.