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:
For Team Projects
… it also pretty simple:
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:
ItemData is the HtmlEncoded output of the query string something like “id=10&cs=-1”
- id: the ID of the item in source control (you need to know this instead of the file path)
- cs: changeset number (-1: latest)
In your example, the file id is 151611. So,
HtmlEncode(“id=151611&cs=-1”) -> “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 an updated version here.