Page 1 of 1

Adjusting Report Name at runtime

Posted: Thu Jul 13, 2023 5:30 am
by Artimidor
When a user saves the report as PDF the Report Name (or its Alias, if available) is used for the filename.

However, this title doesn't consider other languages or e.g. a specific filter that is used to print the report. Is it possible to set the Report Name at runtime? E.g. to set it to the variable used for the report title, which is already properly translated. If so, where?

If that's not possible: How else would you suggest customizing the report file name to reflect different languages?

Re: Adjusting Report Name at runtime

Posted: Fri Jul 14, 2023 12:56 pm
by Lech Kulikowski
Hello,

You can set it in the events. Or use the Globalizations string to localize depending on the Culture.

Thank you.

Re: Adjusting Report Name at runtime

Posted: Mon Jul 17, 2023 10:48 am
by Artimidor
How can the report title be set in the events? And which event would you suggest? Can you provide an example?

Re: Adjusting Report Name at runtime

Posted: Mon Jul 17, 2023 7:30 pm
by Lech Kulikowski
Hello,

In the BeginRender event.

Thank you.