SSRS - disabling Export functionality based on User - reporting-services

I have a report in SSRS that needs to disable the "Export" functionality based on who the User is. Is this do-able? And, is it possible to disable all Export options except the PDF option
Thanks
Mike

Upon research, I found the below URL that basically says you can't disable "Export" on a report by report basis....only pre server. Also, it looks like, when using the ReportViewer control on an aspx page, you can disable "Export" types. The author suggest that SSRS incorporate this in the Reports Manager.

Related

SSRS Show Toolbar on drill down sub report

I have a dashboard SSRS report in embedded in another web app.
In this report there are drill down reports(too many).
By default I set rc:stylesheet=hideToolbar for this main report. So the toolbar is hidden.
Now we want to show the Toolbar on specific drill down reports(not all of them).
Is there a way to do this?
I have tried to create a new stylesheet but as I'm not able to change rc:stylesheet parameter when I'm calling the drilldown report it doesn't work.
I understand what you are trying to do and know that this is achievable through custom stylesheets as well alternatively via a custom SSRS Toolbar UI (via old 2005/2010 mgmt and Execution SOAP SSRS APIs*).
But that may be way overkill for your situation.
My best suggestion with the current out-of-box behavior of SSRS as of MSSQL 2019 (applies to 2016 as well) would be to create a custom link or imageLink inside those subreports that you want to have an SSRS Toolbar for which then either pops up a small new browser window above the main report (or on a new tab) with the subreport- and per default SSRS behavior the toolbar will be there, or, if you want to be explicit you can add the SSRS qs param "&rc:Toolbar=true" to that link.
I have actually used both approaches on projects. It really depends on the requirements, priority and time ya know?
Let me know if I can try to further help in any way if anything I shared was useful.
*here is a similar solution to your kind of problem (the SSRS REST API v1 and v2 can do many things but not as much as the old SOAP APIs could): How to export SSRS 2017 report using REST API

Provide a URL to access SSRS Report without going via a website or application

Is it possible to provide a weblink for a SSRS report without the need for a website or application?
I need to provide a user a URL to a report without that user having access to all the other SSRS reports and settings.
So I what to create a link this:
http://MyServer/Reports/Pages/MyReport
It is possible, here is how to do it:
Set the security of the report you want to share and give the browser role to the user.
Click on the report and provide the URL to the user. The URL will be of this format: http://<YourServer>/Reports_<YourInstance>/Pages/Report.aspx?ItemPath=%2f<YourReportPath>
The user won't be able to see other items if he doesn't have the appropriate rights.
You will have to do this for each report you need to provide.
If you need to disable report subscription, consider using a custom role.
You can also also set the security on the parent folder if you want this to apply on all the reports.
If you need to disable the folder browsing, this can also be done with a custom role (by default the Browser role can Browse).

SSRS 2008 -- link to external website

My company is using SSRS 2008 for reporting services and there are 100's of different reports in it. After using SSRS 2008 for some charts we decided to to no use SSRS for charting and decided to use an open source javascript library to display charts. The main reason was to have some interactive charts!
I have now done a few charts in this open source library which itself is a asp.net webapp and have deployed it. I am wondering is there a way to add "links" to SSRS 2008 so when they are clicked user is redirected to this charts application. The main reason is to have one single area where employees will go for reports and charts.
I was thinking of creating an empty RDL file and on some 'onload' event just do a redirect but I have been unable to find if these reports fire any events!
Is there any other way to achieve it?
Right-click on the field you want to direct to your charting system, click Text Box Properties... and click Action. You want the Go to URL option, which you can use to enter a URL to redirect to.
Note that you can use expressions here to assist in going to the right chart, for example:
="http://mycharts/regionchart?Id=" & Fields!Region.Value

SSRS 2008 R2 - Export as PDF - Save/Cancel, No Open Dialog

Hopefully this will be pretty simple! I've googled around but apparently I'm the only person in existence with this issue. When I go to Export my report as a PDF, a dialog box opens that only has options for Save and Cancel. I want either:
An Open option on that window so the report opens in whatever PDF viewer
The report to open automatically AFTER the user saves it as whatever filename they want.
Note that I don't want it to save automatically, but provide them some option to open it AFTER they've saved it.
This is based on the users browser, and has little or nothing to do with SSRS.

How can I embed Microsoft SQL Server 2008 Report Builder into my forms?

I don't want to open Report Builder from Report Manager. I want to embed Report Builder into my forms. Is there any way?
This is a very old topic, but I want to post a correct answer since it's one of the first results when searching for "Report Builder".
Simply add a WebBrowser control to your form and on Form_Load, navigate to the URL of the Reporting Services server. You'll have a no-frills "browser" - no back button, no stop, no refresh, but right-clicking on the page will do it.
I do not believe report builder uses anything other than the SSRS API to do its work. You will need to create your own report builder. One way to do this is to play with the microsoft one and monitor the traffic between your browser and the server with HTTPAnalyser or Fiddler. Then you can recreate the same web service calls fom your own app.
Have you had a look at the Report Builder standalone installer? v2.0 was just released in April, so it's possible that you haven't seen it. You can find it here.
I don't think it is possible to do this, given that the Report Builder 2.0 is a standalone application
What you could do however is create a shared data source on the server, and avail the link to the setup file for the installer in your application. Users can then connect to the data source and depending on their skill, create their own reports.
You may be able to subscribe to the appropriate service and build out a front end to talk to the service.
SQL Reporting Services is more of a server based reporting solution. If my embedding into your forms you mean that you want the end user to build reports from inside your application I suggest you look at a third-party tool to do this. I use Developer Express controls and they have a strong and reasonably priced solution for this. The product page is here.
I think it is easy.
You can drag Microsoft.ReportViewer control from toolbox to your webform in studio 2008.
Then you can open report builder to initialize your report.
At the end, that report can be viewed and exported when you run your report.
You should be able to create a hyperlink in your app to startup the click once Report Builder app. But it won't run within your form.
See http://technet.microsoft.com/en-us/library/dd795295.aspx for info on constructing the correct URL.
Paul