Hi, I am trying to create an entirely new work item field for my process template. I successfully created and validated the work item type definition XML but without creating the new field.
I want to create the field "MyCompany.VSTS.MyProcess.MyField'. This is like 'Microsoft.VSTS.CMMI.SubjectMatterExpert1'
1. Where can I find object model [Interfaces, References] to create this field
2. What is the process in upload this assembly to server {I am unable to find any assembly 'Microsoft.VSTS.*' in any of the server drives or in my client development machine}
Any help appreciated.
Thank you, Praveen

Creating new field [Namespace]
Blader
That is what exactly I did. I downloaded process template, edited it, renamed it and uploaded to create a new process template.
While doing so, I wanted to create an entirely new field. I can create them in the work item type xml, create a form field in the layouts but with existing types.
So, my question is, do I have to use only the existing types for my field Microsoft gives me System.ID, Microsoft.VSTS.CMMI.SubjectMatterExpert1 etc, can I create one for my field (Eg:-MyCompany.VSTS.MyProcess.MyField)
If I cannot, is there any documentation/link specifying the collection of existing types and their associated usage I need to determine which existing type will do good for my field.
Thanks, Praveen
voxanBoxer
Yes you can! Create whatever namespace you desire.
Randy
MSF
errolian
There isn't an object model per se. Just use the format that you see and add the field. New project creation will instantiate it in a new database. To upload it, just import the new process template. Changing the name of the process template is helpful as you will overwrite the existing one if you do not.
Cheers,
Randy
MSF
Pinguino Girl
I entered a new entry 'MyCompany.VSTS.MyProcess.QActivatedDate' in work item file Activity.xml and uploaded successfully.
But whenever I create new 'Activity', this field is disabled, obviously, I have not created any namespace or control 'QActivatedDate'. I just blindly entered it in xml file.
1. What is the namespace I should be using to create this field Any inheritance heirarchy
2. Should this component be deployed both in TFS and client (The form is generated in client IDE, so this question..)
3. Any information link available for handling this
I am trying with Microsoft.TeamFoundation.WorkItemTracking but it seems to be for retrieving and manipulating work items rather than work item types.
Thanks,
Praveen
mfindlay
hi,
is there an glossary of the existing ref names there must be - where can I find them
thanks
Dreedle
OK. Now I understand... Thanks for your inputs.
The field ref name is not associated with .NET class. It is just a plain string name, that follows .net namespace naming conventions [ just enough to confuse
]
I chose one of the system type for its type (String)
Now it is displayed in the form.
-Praveen