{"id":713,"date":"2011-03-28T06:25:33","date_gmt":"2011-03-28T06:25:33","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2011\/03\/28\/how-to-distribute-custom-checkin-policies-and-work-item-controls-using-the-power-tools\/"},"modified":"2011-03-28T06:25:33","modified_gmt":"2011-03-28T06:25:33","slug":"how-to-distribute-custom-checkin-policies-and-work-item-controls-using-the-power-tools","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/how-to-distribute-custom-checkin-policies-and-work-item-controls-using-the-power-tools\/","title":{"rendered":"How to distribute custom checkin policies and work item controls using the power tools"},"content":{"rendered":"<p>Custom <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/bb668980.aspx\">checkin<\/a>&nbsp;<a href=\"http:\/\/msdn.microsoft.com\/en-us\/magazine\/cc163320.aspx\">policies<\/a> and custom <a href=\"http:\/\/blogs.msdn.com\/b\/greggboer\/archive\/2010\/03\/30\/work-item-tracking-custom-controls.aspx\">work item controls<\/a> are great ways to take advantage of the extensibility of TFS.&nbsp; You can use checkin policies to enforce certain standards on checkins (even in your <a href=\"http:\/\/blogs.msdn.com\/b\/jpricket\/archive\/2010\/03\/11\/using-the-custom-assembly-path-to-deploy-custom-tfs-checkin-policies.aspx\">builds<\/a>).&nbsp; Custom work item controls allow you to add controls to your work item forms that present data in particular way, access other systems, etc.&nbsp; However, there&rsquo;s no mechanism in Team Explorer to download and install these.<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/b\/youhana\/\">Youhana<\/a> has written a post on how to use a feature in the power tools that not many folks know about.&nbsp; By creating a couple of version control folders in each team project, you can have folks use the Team Members node in Team Explorer to download and install them.&nbsp; This means that your users don&rsquo;t need to know where to put the files on disk or the registry entries to create to make them work.&nbsp; There&rsquo;s not an auto-update mechanism there right now, so users will need to do this again if you subsequently update the dlls.&nbsp; To get to this feature, you need to have the <a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/c255a1e4-04ba-4f68-8f4e-cd473d6b971f\">Team Foundation Server Power Tools<\/a> installed on each machine where you want to use this feature.<\/p>\n<blockquote>\n<p><strong><a href=\"http:\/\/blogs.msdn.com\/b\/youhana\/archive\/2011\/03\/27\/distributing-custom-check-in-policies-amp-wit-controls-using-team-members.aspx\">Distributing custom check-in policies &amp; WIT controls using team members<\/a><\/strong><\/p>\n<p>The team members component of the TFS power tools (available <a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/c255a1e4-04ba-4f68-8f4e-cd473d6b971f\/\">here<\/a>) has a feature to help TFS users distribute custom check-in policies and WIT controls. Basically, the administrator would add the dlls containing the policies and components to a special folder in version control and users then can install the components using the &ldquo;personal settings&rdquo; dialog in team members. These are the detailed steps:<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/b\/youhana\/archive\/2011\/03\/27\/distributing-custom-check-in-policies-amp-wit-controls-using-team-members.aspx\">more&hellip;<\/a><\/p>\n<\/blockquote>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom checkin&nbsp;policies and custom work item controls are great ways to take advantage of the extensibility of TFS.&nbsp; You can use checkin policies to enforce certain standards on checkins (even in your builds).&nbsp; Custom work item controls allow you to add controls to your work item forms that present data in particular way, access other [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[6,8,11,15,30],"class_list":["post-713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-source-control","tag-team-foundation","tag-tfs-2010","tag-tfs-api","tag-work-item-tracking"],"acf":[],"blog_post_summary":"<p>Custom checkin&nbsp;policies and custom work item controls are great ways to take advantage of the extensibility of TFS.&nbsp; You can use checkin policies to enforce certain standards on checkins (even in your builds).&nbsp; Custom work item controls allow you to add controls to your work item forms that present data in particular way, access other [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=713"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/713\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}