What should be the control type in TFS Template work item to insert multi -line text
-
Friday, January 04, 2013 11:44 AM
Using TFS Power Tools and Visual Studio 2010, I am trying to edit and add a control of type HTMLFieldControl in one of the TFS work item, so that i can insert multi-line text.
But i am getting an error as shown in the screenshot below:
Type of 'Details' control is HTMLFieldControl and when i inserted characters in a new line i am getting the error "The value for field 'Resolutiondetails' has unsupported characters"
Thanks for your suggestions,
Prince Jain
- Edited by JainPrince Friday, January 04, 2013 11:47 AM
All Replies
-
Monday, January 07, 2013 7:59 AMModerator
Hi Jain,
Thanks for your post.
According your description, the Detailed control type is HTMLFieldControl, so what’s the type of your Details field?
Where’s the Resolutiondetails field in your Bug 2? Ensure the value in this Resolutiondetails field is support.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Tuesday, January 08, 2013 5:38 AM
Thanks for your response.
Resolutiondetails is the field name and Details is the control name.
And the type of 'Details' is string
Prince Jain
-
Tuesday, January 08, 2013 8:11 AMModerator
Hi Jain,
Thanks for your reply.
First, please upgrade your TFS 2010 and VS 2010 both TFS 2010 SP1 and VS 2010 SP1.
I tried to add a custom ‘Resolutiondetails’ field(String type) in my work item type, and add a new ‘Details’ control(HTMLFieldControl type) using this ‘Resolutiondetails’ field. After saved work item type, the ‘Details’ control works as expect, I can insert the multi-line text in this ‘Details’ control.
Please share your Resolutiondetails’ field definition(xml) here.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Wednesday, January 09, 2013 8:38 AMModerator
Hi Jain,
Please confirm that.
If misunderstood anything, please describe your question in more detail and we will be able to provide the better responses.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked As Answer by JainPrince Wednesday, January 09, 2013 12:45 PM
- Unmarked As Answer by JainPrince Thursday, January 10, 2013 9:34 AM
-
Wednesday, January 09, 2013 12:30 PM
Thanks for your valuable suggestions.
I tried to edit the Bug work item in TFS Template using Microsoft Visual Studio 2010 and TFS Power tools.
I added a custom 'Resolutiondetails' field (string type) and 'Details' control(HTMLFieldControl type) using this 'ResolutionDetails' field.After then i uploaded this new template into other server and tried to enter multi -line characters in 'Details' control. And i got the error -"The value for field 'Resolutiondetails' has unsupported characters"
Since i still got the error, i changed the type of 'Resolutiondetails' field to Plain Text and tried and now i am able to insert multi line characters.
Thanks
Prince Jain
- Marked As Answer by John QiaoMicrosoft Contingent Staff, Moderator Friday, January 11, 2013 8:17 AM

