Tool for creating links to pages on Team System Web Access
Would you like to send links to work items, team projects or source files on Team System Web Access?
For work items
… you can find the answer in the offical TSWA FAQ:
Q: What’s the URL to use if I want to send the link of a specific work item?
A: Work item links use the follwing format:
http://[TSWA:port]/wi.aspx?id=[WorkItemID]
For Team Projects
… it also pretty simple:
http://[TSWA:port]/index.aspx?pname=[ProjectName]
For Source Files
… it’s a little bit more “interesting” (thanks to Hakan from Microsoft for reveiling the details behind this secret).
It’s a bit tricky but here it goes:
http://[TSWA:port]/UI/Pages/Scc/ViewSource.aspx?scc-item=[ItemData]
ItemData is the HtmlEncoded output of the query string something like “id=10&cs=-1”
In your example, the file id is 151611. So,
HtmlEncode(“id=151611&cs=-1”) -> “id%3D151611%26cs%3D-1”
https://[TSWA:port]/UI/Pages/Scc/ViewSource.aspx?scc-item=id%3D151611%26cs%3D-1
[We’re planning to provide more friendly URLs in a future version, similar to wi.aspx approach]
To make it fast and more convenient to create links to TSWA I created a small tool to help you with it:

It should be mentioned that this tool has a lot of room for improvement. :-)
You can download the source from here:
File Attachment: TSWA_LinkCreator_1.0.zip (19 KB)