<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Teams WIT Tools : FAQ</title><link>http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx</link><description>Tags: FAQ</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>FAQ #8: Is there a way to clear a field when another field changes?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/03/24/faq-8-is-there-a-way-to-clear-a-field-when-another-field-changes.aspx</link><pubDate>Mon, 24 Mar 2008 07:00:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8332954</guid><dc:creator>sbhatia</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/8332954.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=8332954</wfw:commentRss><description>&lt;p&gt;Another question posed recently on an internal alias.&lt;/p&gt;  &lt;p&gt;The answer from Naren Datha:&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;FIELD refname=&amp;quot;Field1&amp;quot;&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;WHEN field=&amp;quot;Field2&amp;quot; value=&amp;quot;Fix Available&amp;quot;&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;COPY from=&amp;quot;value&amp;quot; value=&amp;quot;&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/WHEN&amp;gt; &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8332954" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #7: Can I combine a list of valid TFS users and a fixed list to present as an option for an &amp;quot;Assigned To&amp;quot; field?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/03/24/faq-7-can-i-combine-a-list-of-valid-tfs-users-and-a-fixed-list-to-present-as-an-option-for-an-assigned-to-field.aspx</link><pubDate>Mon, 24 Mar 2008 06:55:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8332948</guid><dc:creator>sbhatia</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/8332948.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=8332948</wfw:commentRss><description>&lt;p&gt;This question came in on an internal alias.&lt;/p&gt;  &lt;p&gt;The answer from Naren Datha: &lt;/p&gt;  &lt;p&gt;&amp;lt;ALLOWEDVALUES &lt;b&gt;expanditems=&amp;quot;true&amp;quot;&lt;/b&gt; filteritems=&amp;quot;excludegroups&amp;quot;&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;Active&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;Closed&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;[project]\Contributors&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;MsftConn&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;[project]\Test Vendor Contributors&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;LISTITEM value=&amp;quot;[project]\Test Vendor Readers&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;/ALLOWEDVALUES&amp;gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8332948" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #6: How do I change the frequency that the reporting warehouse updates?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/02/07/faq-6-how-do-i-change-the-frequency-that-the-reporting-warehouse-updates.aspx</link><pubDate>Thu, 07 Feb 2008 03:34:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7502060</guid><dc:creator>sbhatia</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/7502060.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=7502060</wfw:commentRss><description>&lt;p&gt;This tip comes from &lt;strong&gt;Markus Hain&lt;/strong&gt;:&lt;/p&gt;  &lt;p&gt;The default update frequency is 3600 seconds (1 hour), below are the steps to change the time.&lt;/p&gt;  &lt;p&gt;1. Log on to the application tier of Team Foundation Server.&lt;/p&gt;  &lt;p&gt;2. Start Internet Explorer.&lt;/p&gt;  &lt;p&gt;3. In the Internet Explorer Address box, type &lt;b&gt;&lt;a href="http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx"&gt;http://localhost:8080/Warehouse/v1.0/warehousecontroller.asmx&lt;/a&gt;&lt;/b&gt;. &lt;/p&gt;  &lt;p&gt;4. On the &lt;b&gt;ControllerService&lt;/b&gt; page, click &lt;b&gt;ChangeSetting&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;5. In the &lt;b&gt;settingID&lt;/b&gt; box, type &lt;b&gt;RunIntervalSeconds&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;6. In the &lt;b&gt;newValue&lt;/b&gt; box, type the new number of seconds, and then click &lt;b&gt;Invoke&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;This opens a confirmation web page which indicates that the RunIntervalSeconds setting was changed.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7502060" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/Reporting/default.aspx">Reporting</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #5: How do I destroy work items or work item types?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/02/06/faq-5-how-do-i-destroy-work-items-or-work-item-types.aspx</link><pubDate>Wed, 06 Feb 2008 12:39:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7487629</guid><dc:creator>sbhatia</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/7487629.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=7487629</wfw:commentRss><description>&lt;p&gt;In order to destroy work items or work item types, you'll need TFS 2008 and you'll need the &lt;a href="http://msdn2.microsoft.com/en-us/tfs2008/bb980963.aspx"&gt;TFS 2008 Power Tools&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;There are two commands:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;DestroyWI: &lt;/strong&gt;You can use this to destroy one or more work items.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;DestroyWITD: &lt;/strong&gt;You can use this to destroy an entire work item type -- this means, you are destroying every work item of that type and the type itself.&lt;/p&gt;  &lt;p&gt;Please note: Destroy means that you are permanently removing all trace of this work item/work item type from the operational store.&amp;#160; The work item data will still remain in the reporting warehouse.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7487629" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #4: How do you change to format of a date on a work item?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/02/05/faq-4-how-do-you-change-to-format-of-a-date-on-a-work-item.aspx</link><pubDate>Tue, 05 Feb 2008 21:29:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7471704</guid><dc:creator>sbhatia</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/7471704.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=7471704</wfw:commentRss><description>&lt;p&gt;Recently, we were asked: A customer wants to format the dates in the Work Item to the format of DDMMMYYY (e.g. 05Feb2008) instead of the standard MMDDYYYY (e.g. 02032008)&lt;/p&gt;  &lt;p&gt;This answer comes from Aliaksei Baturytski on our team:&lt;/p&gt;  &lt;p&gt;You can change the way date/time fields appear on the form by using DateTimeControl control type in the form definition XML with the following attributes:&lt;/p&gt;  &lt;p&gt;Type: DateTimeControl&lt;/p&gt;  &lt;p&gt;Format: Long/Short/Time/Custom (members of DateTimePickerFormat enumeration)&lt;/p&gt;  &lt;p&gt;CustomFormat: custom format for the date field. &lt;/p&gt;  &lt;p&gt;By setting format to &amp;#8220;Custom&amp;#8221; and specifying your format you can achieve what you want. However, please be aware that customization has effect only on the work item form; you cannot change appearance of the date/time fields in the results list of a query.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7471704" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/Work+Item+Tracking/default.aspx">Work Item Tracking</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #3: How do I find the location of the OLAP cube?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/02/01/faq-3-how-do-i-find-the-location-of-the-olap-cube.aspx</link><pubDate>Sat, 02 Feb 2008 02:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7379916</guid><dc:creator>sbhatia</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/7379916.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=7379916</wfw:commentRss><description>&lt;p&gt;I've heard this one a couple of times and asked it myself a couple of times.&amp;#160; When I use Excel to do an analysis of the project data, I need to connect to the OLAP cube (Data-&amp;gt;From Other Sources-&amp;gt;From Analysis Services). I get a dialog that asks the address of the database server.&amp;#160; Here's a tip on how to find the address (this comes from Doug Mortensen on our team):&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Note: If you don't see the video below, try a refresh of the page.&amp;#160; It should turn up then.&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;span style="font-size: 11pt; color: #1f497d; font-family: &amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa; mso-bidi-font-family: &amp;#39;Times New Roman&amp;#39;"&gt;&lt;/span&gt;&amp;#160;&lt;/p&gt; &lt;iframe src="http://silverlight.services.live.com/invoke/33870/locationofcube/iframe.html" frameborder="0" width="1024" scrolling="no" height="508" mce_src="http://silverlight.services.live.com/invoke/33870/locationofcube/iframe.html"&gt;&lt;/iframe&gt;  &lt;p&gt;Thanks,&lt;/p&gt;  &lt;p&gt;-Siddharth&lt;/p&gt;  &lt;p mce_keep="true"&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7379916" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #2: How do I enforce a rule on Area Path or Iteration Path?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/01/30/faq-2-how-do-i-enforce-a-rule-on-area-path-or-iteration-path.aspx</link><pubDate>Wed, 30 Jan 2008 07:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7319340</guid><dc:creator>sbhatia</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/7319340.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=7319340</wfw:commentRss><description>&lt;P&gt;I saw a question on this recently and thought it would be good to contribute to the FAQ that Gregg started:&lt;/P&gt;
&lt;P&gt;Incidentally, this solution is from Gregg too :-)&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class="" cellSpacing=0 cellPadding=0 border=0 minmax_bound="true"&gt;
&lt;TBODY minmax_bound="true"&gt;
&lt;TR minmax_bound="true"&gt;
&lt;TD class="" width="100%" minmax_bound="true"&gt;
&lt;DIV class=BlogPostContent minmax_bound="true"&gt;
&lt;P minmax_bound="true"&gt;&amp;nbsp; &amp;lt;FIELD name="Iteration Path - Validation" refname="MyFields.IterationPathValidation" type="String"&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;HELPTEXT&amp;gt;Hidden field used to validate Iteration Path&amp;lt;/HELPTEXT&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;WHEN field="System.IterationId" value="&lt;STRONG minmax_bound="true"&gt;XX&lt;/STRONG&gt;"&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;COPY from="value" value="Restricted" /&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/WHEN&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PROHIBITEDVALUES not = "[project]\Project Administrators"&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;LISTITEM value="Restricted"/&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/PROHIBITEDVALUES&amp;gt;&lt;BR minmax_bound="true"&gt;&amp;nbsp; &amp;lt;/FIELD&amp;gt;&lt;/P&gt;
&lt;P minmax_bound="true"&gt;Where &lt;STRONG minmax_bound="true"&gt;XX &lt;/STRONG&gt;is the Iteration ID of the root level node. Change Iteration to Area for Area Path field.&amp;nbsp;So if you want to prevent users specifying just root node as AreaPath or IterationPath, put the project name (root) there and users will get an error message that "Iteration Path&amp;nbsp;- Validation has invalid value.&lt;/P&gt;
&lt;P minmax_bound="true"&gt;Note: This will work for Area Path as well.&lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P&gt;-Siddharth&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7319340" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/Work+Item+Tracking/default.aspx">Work Item Tracking</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/tsbt-pm/default.aspx">tsbt-pm</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item><item><title>FAQ #1: How do you display a field twice on the same WIT form?</title><link>http://blogs.msdn.com/teams_wit_tools/archive/2008/01/04/faq-1-how-do-you-display-a-field-twice-on-the-same-wit-form.aspx</link><pubDate>Fri, 04 Jan 2008 21:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6981765</guid><dc:creator>Gregg Boer</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/teams_wit_tools/comments/6981765.aspx</comments><wfw:commentRss>http://blogs.msdn.com/teams_wit_tools/commentrss.aspx?PostID=6981765</wfw:commentRss><description>&lt;P&gt;Many times I get asked questions, either via forums, in person, email, whatever. Sometimes, I answer the question several times. What I'm going to start doing is posting FAQ entries on this blog as I encounter these questions. Hopefully, you'll find them useful.&lt;/P&gt;
&lt;P&gt;One question I get is, how do you display a field more than once on the same form? The scenario I've heard described is that the form has multiple tabs, and they'd like to show the same field on multiple tabs. If you just specify the field name, WIT gives you an error. &lt;/P&gt;
&lt;P&gt;Here's the work around:&lt;/P&gt;
&lt;P&gt;In the form section of the WIT you see lots of &amp;lt;Control&amp;gt; elements.&amp;nbsp; An optional attribute of a &amp;lt;Control&amp;gt; element is Name – which in effect allows the WIT author to give each physical control a unique control name.&amp;nbsp; If it doesn’t exist then TFS will assign a default control name.&amp;nbsp; However if the same field is on the form multiple times, that default causes an error.&amp;nbsp; You can workaround the error by explicitly naming the control and giving each instance of the control a unique name. (See underlined portion in XML below) &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;lt;Control &lt;STRONG&gt;&lt;U&gt;Name="DateStart2ndInstance"&lt;/U&gt;&lt;/STRONG&gt; Type="FieldControl" FieldName="Microsoft.DeveloperDivision.Features.DateStart" Label="Date: Start" LabelPosition="Left" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6981765" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/Work+Item+Tracking/default.aspx">Work Item Tracking</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/Project+Management/default.aspx">Project Management</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/tsbt-pm/default.aspx">tsbt-pm</category><category domain="http://blogs.msdn.com/teams_wit_tools/archive/tags/FAQ/default.aspx">FAQ</category></item></channel></rss>