index > Team Foundation Server - Work Item Tracking > Updating GlobalList contents

Updating GlobalList contents


I want to display a dropdown of project names in my customized workitem type. The list of project names will increase over time. We are using one Team Project to store all our projects.

Currently I have dumped all our existing project names into a GlobalList. However, maintenance of this is going to be very unfriendly for admin users (who are not technical). Also, there is no provision to correct a project name if one is entered incorrectly.

I think I have two options:

  1. create a custom control to pick up the relevant project names from a database and save the project id field to the workitem. All addition or editing of project names can be done via this table with a UI.
  2. create a UI that manipulates the TFSWorkItemTracking database directly

To do the latter option, I will need to know more about how the Constants table works, where the Global List data seems to be stored. It is not obvious how the Global List data is delimited within the table (I see "*GlobalListName" followed by "GlobalListValue" entries in subsequent records, but nothing to indicate when the list data stops).

Suggestions, anyone?

Acanthus
Hi Acanthus, I'm not sure if I will go to the first option, as you will need SP1, which is in Beta yet, and if you are in a production environment I wouldn't do that (maybe I'm coward hehe), so I would do the second option, which will be also easier, only one thing, I wouldn't go also directly to Tfs databases, it is not recommended nor supported by Microsoft, so I would use the TFS WorkItem object model for getting and updating global list.


Luis Fraile - MCSD.NET - http://luisfraile.spaces.live.com/
Luis Fraile

Hi Luis,

I would love to give SP1 a shot, but have found that installing it has NOT updated the relevant dlls to the correct version (even though the VS about box shows the right version). I seem to be stuck with custom controls because of that, which is very annoying.

I haven't looked into the manipulation of Global Lists via the object model, I will go and check that out.

Cheers.

Acanthus
reply 3

You can use google to search for other answers

 

More Articles

Customize the e-mail notification message
Fields set to read only may be changed in Excel
Looking for RASK Requirements Authoring.dot file
Strange Problem --- SQL Server 2005 and TFS and Team System
Importing existing tasks into the new Team Project
Bug -> Details -> Found in build
has anybody created a conversion tool that import bugzilla bugs a...
Project to TFS error -- garbled screen displayed
Way to change the order of "found in build" field on WI
Integrating with TFS: Use of ExecuteDefaultAction
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Error TFS30170
Query using Contains Operator
VS 2005 Team automatically includes loca…
Nested conditions in WIT definition
How to export QoS Work Item
Work Item Queries limitations
How to allow to modify a field during sp…
Event subscription filter - limited to S…
Open WorkItem Editor
Build a WIQL query on iteration paths
Why Cant I enter start date and finish d…
Full list of Work Item Field names
calculating hours with subtasks
WI permission
Web Client for WIT

Hot Articles

Use 2 TF-servers at same client.
reset work items refnames
Default value for not listed values in d…
Area not refreshed in Work Items - TFS RTM
Making the query find items without a re…
WSS issue list and TFS Work Items, any i…
Transition rules
Automatic email notification when Work I…
Creating a Custom query programmatically…
Nested WHEN or conditional operators
Another MS Project Integration Question
create WI custom field dependencies
How to get workitem ID from eventXml?
How to rename Work Item Type?
Readonly flag for System.ChangedBy field…

Recommend Articles

Resource Names in Project empty
How to Implement task into the version c…
Label Report of work items and files
Change Project in a Excel file
Set permission to some specific group to…
Datasource to list all work items in a q…
System.Description Storage
Can users add and view work items from t…
"Forcing rollback" error savin…
The tool lets you to add hyper links to …
How can I add a work item whose type is …
How can 2 dev teams work on the same pro…
New work item ticker tool?
Requirement Review and Review Signing(au…
Problem in merging & publishing mpps