{"id":3074,"date":"2016-06-15T18:23:12","date_gmt":"2016-06-15T12:53:12","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=3074"},"modified":"2016-06-15T18:23:12","modified_gmt":"2016-06-15T12:53:12","slug":"common-login-control-for-dynamics-crm","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2016\/06\/common-login-control-for-dynamics-crm\/","title":{"rendered":"Common Login Control for Dynamics CRM"},"content":{"rendered":"<p style=\"text-align: justify;\"><strong>Introduction<\/strong><\/p>\n<p style=\"text-align: justify;\">Microsoft Dynamics\u00a0CRM\u00a0SDK provides a common login control template to connect Dynamics CRM with custom WPF application. CRM credentials authentication, its storage, and error logging is all done by this common login control. The only thing we need to do is to add login template to our WPF application in order to leverage the benefit of common login control in our application. Common login control will be available as shown in below screenshot;<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/06\/common-login-control-crm-1.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-3075\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/06\/common-login-control-crm-1.png\" alt=\"common login control crm\" width=\"469\" height=\"460\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u00a0To install visual studio extension for common login control, follow the below mentioned steps;<\/p>\n<ol style=\"text-align: justify;\">\n<li>Go to your CRM SDK folder, search for Templates folder.<\/li>\n<li>Double click on \u201cCRMSDKTemplates.vsix\u201d this will install CRMSDK templates in your visual studio.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><strong>Implement Control for your new WPF application:<\/strong><\/p>\n<p style=\"text-align: justify;\">Follow the below mentioned steps:<\/p>\n<ol style=\"text-align: justify;\">\n<li>Go to new project in visual studio and select CRM SDK Template in Visual C# section. Select WPF application for CRM in it as shown below.<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/06\/Implement-Control-for-your-new-WPF-application-2.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-3077\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/06\/Implement-Control-for-your-new-WPF-application-2.png\" alt=\"Implement Control for your new WPF application\" width=\"593\" height=\"363\" \/><\/a><\/li>\n<li>Go to \u201cCRMLogin.Xaml\u201d file present in Login Window folder in your project, as shown below;<a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/06\/CRMLogin.Xaml-3.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-3076\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/06\/CRMLogin.Xaml-3.png\" alt=\"CRMLogin.Xaml\" width=\"595\" height=\"302\" \/><\/a><\/li>\n<\/ol>\n<p style=\"text-align: justify;\">You don\u2019t need to code for CRM login, it will be automatically handled by the login control.<\/p>\n<p style=\"text-align: justify;\">You can set your own application logic, after authentication to CRM.<\/p>\n<p style=\"text-align: justify;\"><strong>Conclusion<\/strong>:<\/p>\n<p style=\"text-align: justify;\">This blog discusses about the template for Microsoft Visual Studio rendered by Microsoft Dynamics CRM SDK enabling you to use common login control in the client applications. This is helpful in leveraging the capabilities in the CRM&#8217;s Windows client application.<\/p>\n<p style=\"text-align: justify;\">Before moving to the next post, have a look at our new productivity add on <a href=\"http:\/\/www.inogic.com\/product\/productivity-pack\/click-2-clone-microsoft-dynamics-crm-records\" target=\"_blank\" rel=\"noopener noreferrer\">Click2Clone<\/a> : Clone your Dynamics CRM records in 1 click.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Microsoft Dynamics\u00a0CRM\u00a0SDK provides a common login control template to connect Dynamics CRM with custom WPF application. CRM credentials authentication, its storage, and error logging is all done by this common login control. The only thing we need to do is to add login template to our WPF application in order to leverage the benefit\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2016\/06\/common-login-control-for-dynamics-crm\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,24],"tags":[307,308,614],"class_list":["post-3074","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","category-dynamics-crm-2016","tag-common-login-control","tag-common-login-control-for-crm","tag-dynamics-crm-common-login-control"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/3074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=3074"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/3074\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=3074"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=3074"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=3074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}