I have some SQL Server Reporting Services (SSRS) reports that take parameters. I am displaying these reports via the SSRS Report Viewer Web part on a site page.
I have the parameters that are needed for the report in a few SharePoint Lists on my SharePoint site.
Q1. Is it possible to use the Javascript Client Object Model to read the list values and pass them into the Report Viewer Web Part?
Q2. Is there another approach for me to render those .rdl reports without using the Report View Webpart? (i.e. using a .Net report control or function of some sort, and passing in the parameters from Javascript to that control/function?
Right now I have a set of custom web parts that read the list parameters and output the parameters (using Web part connections) to the Report Viewer web part. I am looking to simplify my solution by reducing all the connected web parts that I have manage for all my reports.
I was hoping something like SP.Webparts or SP.WebParts.LimitedWebPartManager would have something I could use for this, but I can't seem to find a method to send in parameters.