Tuesday, March 20, 2012

Save Report as PDF

Hello!
I have a ASP.NET application in which it is possible to generate a report
depending on some parameters.
I build the url dynamically in the application:
url = "http://server/reportserver/reportname&par1=" & par1 & "&par2=" & par2
and the report opens in a new window.
is it possible to save a report on hd as pdf without using the report
manager?
the user schould just click on a button in the application.The short of it, call the report via the web service, set the format,
stream the results and save it to disk.
The other option is to specify the format in the URL, ie -
rs:Format=PDF. This will prompt the user to Open/Save the PDF.
Andy Potter|||Thanks for your answer.
I already did so and in works via the web service well.
"Potter" <drewpotter@.gmail.com> schrieb im Newsbeitrag
news:1139851316.899371.106840@.g47g2000cwa.googlegroups.com...
> The short of it, call the report via the web service, set the format,
> stream the results and save it to disk.
> The other option is to specify the format in the URL, ie -
> rs:Format=PDF. This will prompt the user to Open/Save the PDF.
> Andy Potter
>

No comments:

Post a Comment