{"id":4613,"date":"2012-08-10T17:51:59","date_gmt":"2012-08-10T17:51:59","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2012\/08\/10\/launching-the-feedback-client-from-a-windows-8-application-using-team-foundation-server-preview\/"},"modified":"2022-07-22T04:56:56","modified_gmt":"2022-07-22T12:56:56","slug":"launching-the-feedback-client-from-a-windows-8-application-using-team-foundation-server-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/launching-the-feedback-client-from-a-windows-8-application-using-team-foundation-server-preview\/","title":{"rendered":"Launching the Feedback client from a Windows 8 application using Team Foundation Server Preview"},"content":{"rendered":"<p>One of my standard demos lately is to show off the new Feedback client \u2013 lately I have also been showing how you could launch the feedback client using our URI syntax i.e.<\/p>\n<blockquote>\n<p>mfbclient:\/\/chassALM:8080\/DefaultCollection\/p:LureCo?rid=1,2,3\u00a0<\/p>\n<\/blockquote>\n<p>\u00a0<\/p>\n<p>Where<\/p>\n<blockquote>\n<p><strong>ChassALM<\/strong> is an on premise TFS instance<\/p>\n<p><strong>DefaultCollection<\/strong> is my project collection (duh<g>)<\/p>\n<p><strong>LureCo<\/strong> is my Team project<\/p>\n<p><strong>1,2,3<\/strong> are my feedback request item work item IDs<\/p>\n<\/blockquote>\n<p>To use a Team Project on a Team Foundation Service instance you need to use the <strong>mfbclientS<\/strong> uri \u2013 see below.<\/p>\n<blockquote>\n<p>mfbclients:\/\/chass.tfspreview.com\/DefaultCollection\/p:DevTeach?rid=93\u00a0\u00a0<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" title=\"image\" style=\"border-left-width: 0px;border-right-width: 0px;border-bottom-width: 0px;padding-top: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px\" border=\"0\" alt=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2012\/08\/2086.image_thumb_34106CE8.png\" width=\"515\" height=\"321\" \/><\/p>\n<p>\u00a0<\/p>\n<p>(Please note this view was achieved using two monitors)<\/p>\n<p>\u00a0<\/p>\n<p>With my Windows forms sample I was using <strong>Process.Start<\/strong> to launch the feedback client \u2013but in Windows 8 applications you need to use the **Launcher **object<\/p>\n<p>With the entire line of code:<\/p>\n<blockquote>\n<p><strong><em>\u00a0 Await Windows.System.Launcher.LaunchUriAsync(New Uri(&#8220;mfbclients:\/\/chass.tfspreview.com\/DefaultCollection\/p:DevTeach?rid=93&#8221;))<\/em><\/strong><\/p>\n<\/blockquote>\n<p>If you want to do this from ASP.NET it would look like:<\/p>\n<blockquote>\n<p><strong><em>Page.ClientScript.RegisterStartupScript(Me.GetType(), &#8220;alert&#8221;, &#8220;window.open(&#8216;mfbclients:\/\/chass.tfspreview.com\/DefaultCollection\/p:DevTeach?rid=93&#8217;)&#8221;, True)<\/em><\/strong><\/p>\n<\/blockquote>\n<p>If you want to do this from Windows Forms it would look like:<\/p>\n<blockquote>\n<p><strong>Process.Start(&#8220;F:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEmfbclient.exe&#8221;, &#8220;\/s:<\/strong><a href=\"http:\/\/sterlingspc:8080\/TFS\/Defaultcollection\"><strong>http:\/\/sterlingspc:8080\/TFS\/Defaultcollection<\/strong><\/a>** \/p:LureCo \/rid:9,10&#8243;)**<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>One of my standard demos lately is to show off the new Feedback client \u2013 lately I have also been showing how you could launch the feedback client using our URI syntax i.e. mfbclient:\/\/chassALM:8080\/DefaultCollection\/p:LureCo?rid=1,2,3\u00a0 \u00a0 Where ChassALM is an on premise TFS instance DefaultCollection is my project collection (duh) LureCo is my Team project 1,2,3 [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4613","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"acf":[],"blog_post_summary":"<p>One of my standard demos lately is to show off the new Feedback client \u2013 lately I have also been showing how you could launch the feedback client using our URI syntax i.e. mfbclient:\/\/chassALM:8080\/DefaultCollection\/p:LureCo?rid=1,2,3\u00a0 \u00a0 Where ChassALM is an on premise TFS instance DefaultCollection is my project collection (duh) LureCo is my Team project 1,2,3 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/4613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=4613"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/4613\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=4613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=4613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=4613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}