Set file name when Save->Adobe PDF file..

Stimulsoft Reports.JS discussion
Post Reply
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Set file name when Save->Adobe PDF file..

Post by mrapi »

Hi
I need to set a custom name for file saved from Viewer->Save -> Adobe PDF file..
with default settings is saved always with this name: StiSerializer_.pdf
thanks
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Set file name when Save->Adobe PDF file..

Post by Lech Kulikowski »

Hello,

Please try to set the ReportName, ReportAlias properties.

Thank you.
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Re: Set file name when Save->Adobe PDF file..

Post by mrapi »

Indeed it works,also it can be dynamically set by code:

Code: Select all

 this.report.reportName = ....
thanks
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Set file name when Save->Adobe PDF file..

Post by Lech Kulikowski »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply