#1 2020-02-12 16:35:56

Sowmya
Member
Registered: 2020-02-12

Change attached file name in the scheduler for certain reports only

Hi,

I want to change the file name in the scheduler for selected reports only. I know that we can change the attachment name in the scheduler.cf under attachment tag but it is applied for all the reports that are scheduled. So please suggest me a solution on how to change the xml in the schduler.cf so that I can change the attached file name for certain reports. Please let me know if you have any questions.

Thanks,
Sowmya.

Offline

#2 2020-02-17 12:23:13

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Change attached file name in the scheduler for certain reports only

Hi Sowmya,

this is not currently possible out-of-the-box. But you can write a script that allows you to change the name of certain reports regarding given criteria.

Regards,
Eduardo

Offline

#3 2020-02-18 14:11:25

Sowmya
Member
Registered: 2020-02-12

Re: Change attached file name in the scheduler for certain reports only

Thanks for the response Eduardo. I'm new to the scripting so, can you please provide me an example of the script to change the file name attached in the scheduler?

- Sowmya.

Offline

#4 2020-02-20 08:58:25

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Change attached file name in the scheduler for certain reports only

Hi Sowmya,

please check the scripting guide here: https://reportserver.net/en/guides/script/main/
Here you have a tutorial: https://reportserver.net/en/tutorials/t … scripting/

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB