Wednesday, March 21, 2012

Question on sending report output to PDF

Hi...I'm trying to output an SSRS 2005 report, so that the output goes
immediately to PDF.
I know that I can do the following as the URL:
http://MyServer/ReportServer?/ReportFolder/MyReport&rs:Command=render&rs:Format=PDF&PrimaryKey=1
However, when I do that, I get the 'File Download' dialog, where I can
either save the PDF download as a file, or open it.
What I'd like to do is have the URL "immediately" launch Adobe with the
PDF version of the report (I guess "streaming" it?). So basically, I
don't want the file download dialog. However, I'm not sure of the
syntax. Does anyone have any ideas?
Thanks,
KevinOn Nov 6, 10:54 pm, "Kevin S. Goff" <kg...@.commongroundsolutions.net>
wrote:
> Hi...I'm trying to output an SSRS 2005 report, so that the output goes
> immediately to PDF.
> I know that I can do the following as the URL:
> http://MyServer/ReportServer?/ReportFolder/MyReport&rs:Command=render...
> However, when I do that, I get the 'File Download' dialog, where I can
> either save the PDF download as a file, or open it.
> What I'd like to do is have the URL "immediately" launch Adobe with the
> PDF version of the report (I guess "streaming" it?). So basically, I
> don't want the file download dialog. However, I'm not sure of the
> syntax. Does anyone have any ideas?
> Thanks,
> Kevin
This is the best alternative for what you are looking for. It does
take coding; however, this is the best way to accomplish this.
http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsexecutionservice2005.reportexecutionservice.render.aspx
Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultantsql

No comments:

Post a Comment