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.
Join the DZone community and get the full member experience.Join For Free
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 (named test project 2 ) was created from the web interface, i verified that nothing gets created in my reporting services instance.
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.
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.
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.
Published at DZone with permission of Ricci Gian Maria. See the original article here.
Opinions expressed by DZone contributors are their own.