July 21, 2014 at 9:42 am
Hi all,
Is it possible to disable the pdf export only for specific reports ??
I need your help.
Lidou
July 21, 2014 at 11:23 am
Not that I'm aware of from within report manager. I believe you can only disable that across a report server. I'm not sure what you'd gain from that since there are free pdf printers out there that could create a pdf copy of the report anyway.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
July 22, 2014 at 1:17 am
Hi Jack,
Thank U for your answer.
So, do U know how can I do it within the report server?
I hearded that it's possible with C# script: http://stackoverflow.com/questions/15831328/ssrs-disabling-export-options-eg-pdf-for-individual-reports
July 22, 2014 at 3:00 am
Hi,
you already posted the answer in your link.
There are some options:
1. Globaly disable Rendering Extensions (e.g. Excel Export)
In C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config set "Visible"-Attribute of a extension to false. Normally you don't have to restart the Report Server. It recognizes the changes in the config file and reloads the Settings.
2. Remove the entry in the PreRender-Event of your ReportViewer
3. Add some Javascript to your ReportViewer.aspx
July 22, 2014 at 12:06 pm
Thank You MicVog,
I will try the third solution and I will let you know.
Thank U
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply