I'm working on a custom work item for a TFS process template and I'm getting errors indicating that the label I used for a group control exceeds the MaxLength value. Can anyone tell me what is the maximum length I can put on a group label?
+1
A:
As you discovered, the answer is 80. Here's a link to the official documentation: http://msdn.microsoft.com/en-us/library/cc339502.aspx
Luckily, the restriction is encoded into the XML schema:
<xs:simpleType name="LabelType">
<xs:restriction base="xs:string">
<xs:maxLength value="80"/>
</xs:restriction>
</xs:simpleType>
It should fail as soon as you try to Save in the Process Template Editor -- no need for trial & error on the server side.
Richard Berg
2009-07-06 14:02:55
That's exactly what I was look for, thanks. Sure enough, the trail and error was within the Process Template Editor because it doesn't tell you what the maximum length was.
Chad Green
2009-07-06 17:31:25
A:
is this an XML file that can be edited? I need to set the maxLength Value to "150".
Thanks.
luis
2010-01-13 22:19:37
You can edit it, I suppose, but it won't change the server side restriction.
Richard Berg
2010-01-14 05:43:54