Accessing report params in html template

Hi,

Sorry if I missed in documentation but I could not find in docs or forum how to access the report params in the output template. I am pretty sure thats possible.

Thanks

Hi,

If you have a report band for that in which you return those parameters: e.g. a band called “Title” with a groovy script: return params[‘xyz’] , you can access that information like any other band: e.g. ${Root.bands.Title[0].fields.myfield}

Hello,
This part of a documentation can help you with accessing to the report params: link.
Best regards,
Daniil.

Thanks for pointing me in right direction. Your idea of using a band works great.

However as mentioned in reply to Daniil’s answer HTML template should have access to params without need of a band which is good as a workaround for now.

Thanks