I want to try out the new custom control feature. I have installed the SP1 Beta but I don't know where to start... Could anybody point me out a sample or give me an idea how to build a new work item custom control? Do I have to inherit from a specific class, do i have to register my control type somehow, how do I reference it in the work item section of the process template? Thanks! Mike
Mike Lapierre
We are working on providing documentation and a sample pretty soon (by early next week). I'll add pointers to it as soon as they are available. Basically the control needs to implement IWorkItemControl interface.
http://blogs.msdn.com/narend
Naren Datha - MSFT
I'd be pretty interested in this too. Not just from the point of view of editable fields, but also from fixed fields that are set per work item type; e.g. an image that can act as a visual indicator for the work item type that is currently open. Many of the work item type forms are similar in layout - and there is a good reasons for that as developers don't have to hunt for fields just for the sake of making the layout different - so it would be nice for example to put an image top left that indicates a bug or a development task or a risk, etc. to help immediate recognition of what is being looked at in VS. I am hoping that this can be done with custom controls and hopefully any supplied examples will allow me to figure it out.
Thanks for the info - this should be very useful. At the moment we haven't deployed SP1 as we don't have a TFS instance that isn't live and our technical team who manage the servers a cautious about putting beta software on our TFS. I will get onto this though when SP1 goes live.