Using a custom control in the process template
Although we have not created a custom control yet, I thought it would be a good idea to start with modifying the process template to use a custom control that we will make. This will give you the extra benefit of knowing what happens if you configure a process template to use a custom control and one is not found.
Go back to where you had your process template saved (in the How do I get started? section of Chapter 3, Customizing Your Process Template) and open the ProductBacklogItem.xml
work item definition. Find the Title
control, which will look something like this:
<Control FieldName="System.Title" Type="FieldControl" ControlFontSize="large" EmptyText="<Enter title here>" />
Now, to use a custom control (which doesn't exist yet), we will replace this line with the following code:
<Control FieldName="System.Title" Type="TfsTitleStrengthIndicator" />
This will indicate to TFS that whenever the product backlog item is rendered...