Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write a ssrs report automatically to PDF #90

Open
achester75 opened this issue Jul 30, 2019 · 2 comments
Open

Write a ssrs report automatically to PDF #90

achester75 opened this issue Jul 30, 2019 · 2 comments
Labels

Comments

@achester75
Copy link

I've used Alan Judens code to view an ssrs report in my web app. What I would like to do is from a button press run this report an save to pdf in a specific location without having to preview then selecting export. Any help would be appreciated.

Thanks

@alanjuden
Copy link
Owner

@achester75, I have done something similar but streamed the file out to the user instead of placing it in a specific location somewhere.

If you call into the /Report/ExportReport/?reportPath=path%20to%20your%20report&format=pdf then it will stream down to the end user.

The only other thing you'll need to deal with is if you need to pass a report parameter you'd just tack it onto the end of your url (or pass it into a POST).

@achester75
Copy link
Author

achester75 commented Jul 31, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants