Is there a simple approach in generating reports, either in PDF, Excel, Word or TIFF formats using the TFS API and SSRS? I can generate the reports manually by selecting the parameters from the combo boxes using the SSRS dashboard for TFS but I would like to include an export button to my web application so that I can easily bypass Team Web Access for generating reports. Any ideas?
I have read on this post that I could use the ReportExecutionService
class from SSRS, so I was wondering if this could be used from the TFS server.
I have imported the namespace using this web service reference:
http://<TFS server>/reportserver/ReportExecution2005.asmx
I have found out a way to generate reports using the
ReportExecutionService
web service. Provided that a web service reference was added to the project already, this will generate a file with the given parameters. Here the start and end dates are provided as parameters and the report is generated using the Render() method.By the way, the values set for the parameters are MDX queries and I haven't found out yet how to set a specific AreaPath, so for now only I can list 'All'.