Solved

Create report with dynamic file name

  • 11 August 2022
  • 2 replies
  • 78 views

I created a report with report type DevExpress and use it as a table report. When the report is downloaded the file name is always te same. It looks like the Report Translation is used. Is it possible to add something unique to file name, like the current date and data from a column in the table? 

icon

Best answer by Renée Evertzen 12 August 2022, 08:31

View original

This topic has been closed for comments

2 replies

Userlevel 4
Badge +3

Hello,

It should be possible to use the report properties for this. The property you'd want to use for your example is the Export path property. Try the following steps:

  1. Set up an additional report parameter with any name you want.
  2. Select the Export path option in the Property field of the report parameter.
  3. Create a default, or update an existing default if one exists by including the new parameter and setting this with the name and the extension that you want to provide the file with.

If the report is set up with a print preview as the default report action, this new parameter will be hidden in the report pop-up. However in the case of an export to PDF an additional parameter will show up that presents the file name that it will receive when exported.

More information can be found here: https://docs.thinkwisesoftware.com/docs/sf/reports#report-parameters

 

Hopefully this helps! 😄

It worked, thank you!