Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Add Reporting to an Existing Team Project

DZone's Guide to

Add Reporting to an Existing Team Project

Author Ricci Gian Maria shows us how to create a Team Project with TFS 2015 while also generating a Sharepoint portal and Reporting Services.

· Web Dev Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

In a previous post, I demonstrated how you can create a Team Project from the Web Interface thanks to TFS 2015 Update 2. The only drawback of this approach is that no Sharepoint Site and no Reporting Services portal are created.

While SharePoint integration is now an uncommon requirement, reporting services are still used. After my new Team Project (namedTest Project 2 ) was created from the Web Interface, I verified that nothing gets created in my Reporting Services instance.

image

Figure 1: No reporting was created for new Team Project

Thanks to TFS Power Tools you are able to create both SharePoint portal and Reporting services for an existing project.

You can add reporting with the tfpt.exe power tools command line utility. As an example, here is the help for the addprojectreports command, used to create reports for an already created Team Project.

This image shows the list of options available to the addprojectreports command.

Figure 2: Help of the addprojectreports command

This is the exact command line I need to recreate reports for my Team Project:

tfpt addprojectreports 
/collection:http://tfs.cyberpunk.local:8080/tfs/ExperimentalCollection 
/teamproject:"Test Project 2"
 /processTemplate:"CMMI"

After a little while tfpf.exe created everything, which I can verify from Reporting Services Site. Now, I have the usual folder for the Team Project that contains all Reports.

After tfpf addprojectreports command all reports for the team project are correctly created in Reporting Services Site

Figure 3: Reports were created for the Team Project

The same can be done with SharePoint portal. Thanks to Power Tools you can create the Team Project directly from the Web Site and add portal or reports subsequently and only if you need them.

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:
tfs ,microsoft ,sharepoint ,reporting ,services ,portal

Published at DZone with permission of Ricci Gian Maria. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}