#1 2017-04-10 09:25:03

pmace
Member
Registered: 2016-10-07

Force scheduled reports to generate report with the same file name

Hi,

when a report generation is scheduled and is sent by mail, all the reports are sent with a specific filename for each generation  ( rep-"report template name"-yyyy-mm-dd hh:mm).
Is it possible to force reportServer to not modify the report name and to name the report sent only with the report template name (as when a report is generated and sent manually) ?

Thanks in advance.

Br,
Pierre Macé

Offline

#2 2017-04-10 10:13:50

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Force scheduled reports to generate report with the same file name

Hi Pierre,

yes, you have to change this configuration file:
scheduler/scheduler.cf

<name>rep-${report.getName()}-${RS_CURRENT_DATE}</name>

change this to

<name>${report.getName()}</name>

https://reportserver.net/en/guides/conf … hedulercf/

Then reload your configuration (open the terminal CTRL+ALT+T and type "config reload", or you can restart your reportserver instance.

Cheers,
Eduardo

Offline

#3 2017-04-10 11:54:06

pmace
Member
Registered: 2016-10-07

Re: Force scheduled reports to generate report with the same file name

Hi Eduardo,

thanks for the answer, it works once the config reloaded.

Br,
Pierre Macé

Offline

Board footer

Powered by FluxBB