Team Services is coming up with many improvements and one of it is the new process customization experience introduced recently. This allows you to have your own custom work item types, custom work item state flows and custom fields for work items etc. It is made easier to start customizing even directly from work item form. Let’s look at and understand process customization options available for you to optimize your work process.
Showing posts with label customizing. Show all posts
Showing posts with label customizing. Show all posts
Thursday, 22 June 2017
Wednesday, 9 October 2013
TFS - Adding HTMLFeildControl to Work Item
There are two important points to consider if you are adding HTMLFeildControl to a work item.
1. First You need to have the correct type for the field that you are adding. HTML is the type that works for HTMLFeildControl.

To illustrate I have added three fields, two having type HTML and one having plain text. See the behaviour of the "PlainText" type field on a HTMLFieldControl. It does not give the HTML field control editiong options and notifies an error with color.
2. Use MinimumSize attribute
Tip from MSDN
"When you add several HTMLFieldControl elements on a form that will be stacked vertically, you should specify the MinimumSize attribute for each field control. In this manner, you can make the text boxes all a similar size. Otherwise, the last HTML control element is sized to fill the form, and the previous elements appear together with smaller text boxes."
For more information refer Control the Display of Work Item Fields: Adding Formatted Text Fields
1. First You need to have the correct type for the field that you are adding. HTML is the type that works for HTMLFeildControl.

To illustrate I have added three fields, two having type HTML and one having plain text. See the behaviour of the "PlainText" type field on a HTMLFieldControl. It does not give the HTML field control editiong options and notifies an error with color.
2. Use MinimumSize attribute
Tip from MSDN
"When you add several HTMLFieldControl elements on a form that will be stacked vertically, you should specify the MinimumSize attribute for each field control. In this manner, you can make the text boxes all a similar size. Otherwise, the last HTML control element is sized to fill the form, and the previous elements appear together with smaller text boxes."
For more information refer Control the Display of Work Item Fields: Adding Formatted Text Fields
Subscribe to:
Posts (Atom)
Popular Posts
-
The hosts file in /etc/hosts is allowing the WSL distros to map IP addresses to domain names before going to domain name servers, similar...
-
Can a Coded UI test executed with a Console Application? Yes it is possible. I am going to explain how it can be done. I am going to exec...
-
Pull Request are the controlled way to bring in the changes to your stable branches in your Azure Git repos, or for that matter all Git prov...
-
The new Azure Managed Redis can be deployed with balanced compute and memory with high availability, and useful modules such as RedisJson a...
-
You might encounter compilation error in Visual Studio 2015 when a new .NET Core 1 web app is created, if you have installed Visual Studio 2...