Embed SSRS Report Viewer in Flask application - sql-server

Context: I have a web application written in Python using Flask. I need to embed some reporting utility in the application and would like to use SSRS.
Question: I've investigated a few MSDN resources including the following:
(https://learn.microsoft.com/en-us/sql/reporting-services/report-server-sharepoint/add-the-report-viewer-web-part-to-a-web-page?view=sql-server-ver15)
It appears that this route would require implementing Sharepoint. Is this true? Is there any way to embed SSRS reports in webpages without needing to use Sharepoint?

Sharepoint is definitely not required. But there are different options with different tradeoffs.
Simplest is to add rs:embed=true to a report URL and load it in an iframe, which works great if your users can authenticate to SSRS using Windows Integrated Auth. This doc details how to embed into SharePoint using this technique, but it works equally well for any custom app, so long as the user can authenticate to SSRS.
Other options are outlined here: Integrating Reporting Services into Applications
The most useful one is SSRS URL Access.

Related

Is it possible to embed a powerBI application (not report!) in reactjs

I'm currently embedding various powerBI reports in a reactjs intranet app using powerbi-client-react. However, our data analyst asked if I can embed the entire reporting application, so that all reports within the app are available to an authenticated user, since then he won't have to maintain access controls for each report and can simply allow any users in our domain to access the app.
I have been searching but haven't found anything addressing this use case-- everything assumes that the goal is to embed a single report rather than an entire reporting app. Is it possible to embed an entire app?
No, this is not supported. As you can see from the official documentation, applications are not supported:
The React library lets you embed the following Power BI items:
Reports
Dashboards
Dashboard tiles
Report visuals
Q&A

Salesforce: is it possible to develop a web application on top of Salesforce

Let me start with a bit of background: I'm helping a non-profit organization that would like to have a browser-based application that is backed by Salesforce, but has very specific requirements.
I see Salesforce has a REST API that we can call, so we can develop a standalone application to serve the web pages they want and use the REST API to call Salesforce when needed.
I'm wondering if there is a way to host a web application directly on Salesforce; this way we don't have to have a separate application server. Any recommendations or pointers to documentation/open source products is greatly appreciated.
Yes, you can create services that will allow your app to hit Salesforce
Depending on the type of application, yes you can host it on salesforce using the Salesforce Sites feature, also you can develop and host your app on Heroku which is owned by salesforce and can sync data to and from salesforce using Heroku Connect, or you can build and host it on another service like AWS and connect via the REST API. You just need to investigate and choose the option that best fits your use-case. One thing to be aware of is that there are API limits (the number of calls you can make to salesforce in a rolling 24hr period). Depending the the needs of the app be sure to see if those limits will be an issue. Because if the app makes constant calls to salesforce that could be an issue. But there are things you can do to get around that, like caching.
Yes, both Force.com Sites and Site.com features allow you to host webpages on the Force.com Platform. The markup is stored in Visualforce Pages and can use Apex to access records in the Database. I have migrated multiple websites (including our company's www.mkpartners.com) to Force.com using Force.com Sites.
One thing to keep in mind is that you are limited to 500,000 views per month and the rendering of a page with images that are also stored on the platform will incur a single view for the page and a single view for each image. If you already have a very popular website, I wouldn't migrate. If you're a small business or nonprofit, then it should be fine.
Another thing to keep in mind is that dynamic functionality based on records in the database will not work during maintenance windows. There is the ability to upload a static version of your website to be rendered during these windows though.

How to use Jasper Reports with AngularJS

I googled for using JasperReports with AngularJS is possible or not, but I couldn't find any exact solution about that.
Let me explain our current situation and after that I will explain what I want to do.
We are using Spring for our application backend and JasperReports for generating reports on the server side. We have Pdf, Excel and HTML options for generating reports, all types of reports generated by JasperReports.
Now, we are developing a new application using AngularJS for front-end and again Spring for developing JSON based Rest services. Front-end and backend codes are running in different servers, we are using tokens for authentication.
My question, is it possible to generate reports with JasperReports and show to user in Pdf, Excel and HTML to users? If not, is there any solution to show reports to users in these formats with or without pagination?
Thx in advance.

hiding report structure in SSRS

I am using Visual Studio 2010 to design SSRS reports.
The report is successfully published and will have a link such as below:
http://hostname/ReportServer/Pages/ReportViewer.aspx?%Reports%2fDistributed&rs:Command=Render&rp_db_catalog=ts
Now when the user goes to the link,
http://hostname/ReportServer
it will show them the rest of the reports available which is a security concern.
Is there a way to hide the report structure from the user?
Thanks,
Bruce
I don't think you can "hide" it, nor should you. You'll need to use another method to secure your reports. Here are a few options:
Secure within the web frontend you're currently using. You'll need to set up user accounts and roles, and permissions for folders. Here's the MSDN starting point, from there you can get to securing folders.
Deliver your reports through Sharepoint, see this bit of MSDN for a starting point.
Integrate ssrs in your application e.g. using the SOAP webservices, an asp.net or winforms app, or through URL access (that last option may even be quite close to what you want).

Sharepoint as a CMS

I am looking at using Sharepoint as a CMS for my WPF application, I was hoping to create some kind of a repository and access that using .NET web services. The repository would simply be some images and perhaps some meta-data about the images (name, description, etc...)
Im am stuck to Sharepoint, so another system is not really an option.
Does anyone have any links or experience with this?
Im not a newbie to Sharepoint, I just cannot find anything on what versions to use, if I need plugins, security, how to go about it in general.
You can do this with the free version of SharePoint (SharePoint Foundation, formerly Windows SharePoint Services) that comes with Windows Server--no plugins required.
If you simply want to store the images in SharePoint you can upload them to a Document Library via a web service call. If you want to be able to view the images directly in SharePoint use a Picture Library instead. As you can see in the list of SharePoint 3.0 web services you can work with both Document and Picture Libraries. You could even have the WPF application create the libraries if need be.
As Henrico points out in Storing Images on Sharepoint you'll want to consider whether to store the image file itself in SharePoint or have the file elsewhere and use SharePoint to store the path. His post also points out some other considerations on storing images in SharePoint. Note that his post refers to using SharePoint directly, but the same considerations apply.
I'm not sure what to say about security, since SharePoint supports authorization and authentication with its normal web interface and with web services.
I once used a hosted version of SharePoint to store PDFs uploaded from a command line application that were then viewed by a separate application. It worked great for my needs.

Resources