index > Team Foundation Server - Work Item Tracking > Use of History field for a Note Log?

Use of History field for a Note Log?


I would like to add a Note Log capability to my custom work item type.  It would work like the history field, but without showing th field changes: a user would type in a note - saving the work item appends it (along with user and datetime info) to the MyCompany.ChangeRequest.NoteLog reference field for display. 

It looked to me like using the History field type for the MyCompany.ChangeRequest.NoteLog reference field would do the trick, as in the MSDN "Field Type" article the history field is described as follows:

History   Use a History field for discussion threads and for keeping track of other historical information.

However, in the PTE (which I am using to do most of my customization) I am not allowed to associate a history field type to any reference field apart from System.History. 

My questions are:

  • Is this a limitation of the PTE (can I achieve this by editing the raw XML instead?)
  • If not, can someone suggest how I might replicate this functionality

 

Acanthus

Yes, custom fields cannot be of history type. Also, conversation control (history control) can only be associated with history field. It is because there is special way of storing data in history and processing it. Actually adding history does cause a revision. You can use long text fields to achieve users adding additional notes, but the experience won't be like history control.

If you are willing to get users to upgrade to SP1 beta & are willing to deploy custom controls to users, you can build your own custom control to achieve this rich functionality. Custom control documentation is at: http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx




http://blogs.msdn.com/narend
Naren Datha - MSFT
reply 2

You can use google to search for other answers

 

More Articles

Customize Query Variables
Query Date-Time granularity
Team Projects sharing same Source Control
How to implement AssignTo combobox
WI permission
Set new field - Owner inside of WI and pull values from Active Di...
Start a task and assign worked time
Office table Pivot
Getting the server names cached on the local machine.
Problem logging in Team Foundation Server using ASP.NET
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Requirement Review and Review Signing(au…
Error: There may be problems with the wo…
Open Work Item attachment problem
Can a work item type be deleted in VSTS?
MSProject Undo and Redo disabled
Can't see new work items in Project Portal
Error adding attachment with work item?
Removing User option under "Assigne…
Custom Work Items
Managing project and resource names
Creating an workitem from an email
Using Microsoft Project with TFS Work It…
WSS issue list and TFS Work Items, any i…
"Assigned To" field
How do you suppress work item creation o…

Hot Articles

Managing project and resource names
Customize the history tab to give more i…
How do I specify dependancies (and impor…
Assigning same task to multiple resources
Set default value for Sytem.AreaPath
MPP Resource Name Issue
Best Way to Add a Document Link to a WI
How to force refresh of iterations on It…
Adding new Values to "state"
Build Integration clarification
MS Project stops leveling after getting …
Print Work Item Per Page
MS Project Mapping Problem
Default TFS event subscriptions & ce…
Automatic email notification when Work I…

Recommend Articles

Office table Pivot
Open Work Item attachment problem
Adding / Modifying Work Item Fields
How can i map the Item Description field…
How to create dependency among work item…
What is an area?
Related items
Scheduling with VSTS and MS Project
Work Item rule change works ... most of …
Extend work item by adding new control t…
Credentials of the SubscribeEvent WebSer…
make Task Link tab as a required field
Getting Email body part from an email us…
WorkItemChangedEvent doesn't retrieve &q…
End Date for Iterations