index > Team Foundation Server - Work Item Tracking > Custom Control Feature

Custom Control Feature


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.

Steve
Steve Huckett
Steve, the documentation now is available at http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx . Yes, it is possible to get work item type from workitem object in your control and display icons specific to the type.


http://blogs.msdn.com/narend
Naren Datha - MSFT
Naren

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.

Thanks

Steve
Steve Huckett
reply 5

You can use google to search for other answers

 

More Articles

Error: There may be problems with the work item type definition
Work Item Query Question - State Field Value dropdown list
Work Item Classification and Project Hierarchy
How to get access to the selected workitems in a query result doc...
create WI custom field dependencies
Custom History Control
Field won't copy from another field on New Work Item Activation
Comments are lost when workitem is exported
Appending data to a work item field as opposed to COPY
Skip "validation errors" when doing bulk update from MS...
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Query for Empty String
Methodology for publishing work items
Build a WIQL query on iteration paths
Recent Work Items
Actions and fields of work items
Default TFS event subscriptions & ce…
Custom Work Items
Datasource to list all work items in a q…
VSTS - Project Field Mapping
Does VSTS support dynamic Query?
Import change history into TFS
Opening WI Attachments Requires Username…
Is there a web interface to VSTS defect …
I am have a problem with getting TFS to …
Problem with MS Project plugin

Hot Articles

Error TFS30170
File Attachment Best Practice
MS Project intagration problems
VS 2005 Team automatically includes loca…
Query Date-Time granularity
WI permission
Bug -> Details -> Found in build
Work Item Web Access
Linked Work Items
"Assigned To" field
How to Display the Current Date and time…
Appending data to a work item field as o…
Adding / Modifying Work Item Fields
Changing transition rules, only reason t…
Unable to publish new project tasks

Recommend Articles

tf86001 Team foundation was unable to lo…
Creating Custom Control
How can i map the Item Description field…
Is it possible to prevent check-in if a …
How can I know who's link to my WI??
Importing global list through object model
How to get workitem ID from eventXml?
Publishing errors when updating frozen f…
TF80070 after updating FieldMapping.xml …
Auto-Complete of Area and Iteration
Exception using TFS client in Web App
Remove Work Items from template
The Team Foundation Server work item dat…
Query results window is cached ?
VS.NET command to add work items