Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#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

IF_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

IF_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