{"id":11580,"date":"2018-04-23T17:50:02","date_gmt":"2018-04-23T12:20:02","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=11580"},"modified":"2018-04-23T17:50:02","modified_gmt":"2018-04-23T12:20:02","slug":"controls-in-dynamics-365-for-mobile-app-flip-switch","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2018\/04\/controls-in-dynamics-365-for-mobile-app-flip-switch\/","title":{"rendered":"Controls in Dynamics 365 for Mobile App: Flip Switch"},"content":{"rendered":"<h2 style=\"text-align: justify;\"><strong>Introduction:<\/strong><\/h2>\n<p style=\"text-align: justify;\">In our previous blogs of the \u2018Controls in Dynamics 365 for Mobile App\u2019 series, we discussed\u00a0<a href=\"https:\/\/www.inogic.com\/blog\/2017\/02\/controls-in-dynamics-365-for-mobile-app-input-mask\/\" target=\"_blank\" rel=\"noopener noreferrer\">Input Mask<\/a>,\u00a0<a href=\"https:\/\/www.inogic.com\/blog\/2017\/02\/controls-in-dynamics-365-for-mobile-app-multimedia\/\" target=\"_blank\" rel=\"noopener noreferrer\">Multimedia<\/a>,\u00a0<a href=\"https:\/\/www.inogic.com\/blog\/2017\/02\/controls-in-dynamics-365-for-mobile-app-website-preview\/\" target=\"_blank\" rel=\"noopener noreferrer\">Website Preview<\/a>,\u00a0<a href=\"https:\/\/www.inogic.com\/blog\/2017\/02\/controls-in-dynamics-365-for-mobile-app-auto-complete\/\" target=\"_blank\" rel=\"noopener noreferrer\">Auto-Complete<\/a>,\u00a0<a href=\"https:\/\/www.inogic.com\/blog\/2017\/04\/controls-in-dynamics-365-for-mobile-app-option-set\/\" target=\"_blank\" rel=\"noopener noreferrer\">Option set<\/a>,\u00a0<a href=\"https:\/\/www.inogic.com\/blog\/2017\/03\/controls-in-dynamics-365-for-mobile-app-star-rating\/\" target=\"_blank\" rel=\"noopener noreferrer\">Star Rating<\/a>\u00a0controls and <a href=\"https:\/\/www.inogic.com\/blog\/2018\/03\/controls-in-dynamics-365-v9-0-for-mobile-app-contract-calendar-control\/\" target=\"_blank\" rel=\"noopener noreferrer\">Contract Calendar<\/a>. The Contract Calendar Control may help you to view the time table in order to understand what time the task needs to be performed on weekly basis. Contract calendar Control can be used as Task Scheduler on weekly basis on Mobile and Tablet.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"aligncenter  wp-image-11592\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/04\/Controls_Flip-Switch.png\" alt=\"Controls_Flip Switch\" width=\"826\" height=\"465\" \/><\/p>\n<p style=\"text-align: justify;\">Today in this blog let\u2019s discuss about another control in Dynamics 365 called \u2018Flip Switch\u2019.<\/p>\n<h2 style=\"text-align: justify;\"><strong>What is Flip switch and how it can help users?<\/strong><\/h2>\n<p style=\"text-align: justify;\">The Field Type to use Flip Switch would be \u2018Two options\u2019.<\/p>\n<p style=\"text-align: justify;\">If you go by UI perspective, Flip switch control- Yes\/No (Boolean) options would give the nice field look in the web, mobile app and Tablet. Instead of using check boxes and radio buttons, this control adds a visual effect like the On\/Off switch way.<\/p>\n<h2 style=\"text-align: justify;\"><strong>Let us see an example where we have added Flip Switch control on the Account entity record:<\/strong><\/h2>\n<p style=\"text-align: justify;\">In this example, we will add the Flip Switch control on the Account entity record. We need to use the visual effect of Flip Switch to see whether the Account is Taxable or not.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">1. First, create a new field \u2018Taxable\u2019 with \u2018Data type\u2019 as \u2018Two Options\u2019 as seen in the screenshot below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-11586\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/04\/1.png\" alt=\"Controls in Dynamics 365 for Mobile App: Flip Switch\" width=\"821\" height=\"452\" \/><\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">Here, we have kept the default value of \u201cTaxable\u201d field as \u201cNo\u201d.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">2. Now, add this field on Account Form and click on the \u2018Field \u2018 Select the \u2018Controls\u2019 tab and click on \u2018Add Control.\u2019 Then choose the Flip-Switch control as shown in the screenshot below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-11581\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/04\/2.png\" alt=\"Controls in Dynamics 365 for Mobile App: Flip Switch\" width=\"563\" height=\"659\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-11582\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/04\/3.png\" alt=\"Controls in Dynamics 365 for Mobile App: Flip Switch\" width=\"567\" height=\"250\" \/><\/p>\n<blockquote><p><strong><em>Note:<\/em><\/strong><em> When you add the control, the \u201cVisible by default\u201d for the field sets to \u201cNo\u201d. So once done adding the controls, need to again set the \u201cVisible by default\u201d value as \u201cYes\u201d.<\/em><\/p><\/blockquote>\n<p style=\"padding-left: 30px; text-align: justify;\">3. Click on \u2018Save\u2019 and \u2018Publish\u2019 the customizations. Once you save the record, log in to Dynamics 365 Mobile and Tablet app and open the Account entity record in which you have put the Taxable field. You will now see Yes\/No represented as Flip switch as seen in the screenshot below:<\/p>\n<p style=\"padding-left: 30px;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-11583\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/04\/4.png\" alt=\"Controls in Dynamics 365 for Mobile App: Flip Switch\" width=\"389\" height=\"352\" \/><\/p>\n<p style=\"padding-left: 30px;\">4. This control also works on web client. To view Flip switch control on web client, navigate to Account entity and see the look of the \u201cTaxable\u201d field.<\/p>\n<p style=\"padding-left: 30px;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-11584\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2018\/04\/5.png\" alt=\"Controls in Dynamics 365 for Mobile App: Flip Switch\" width=\"477\" height=\"493\" \/><\/p>\n<h2><strong>Conclusion:<\/strong><\/h2>\n<p style=\"text-align: justify;\">The Flip Switch control is helpful in situations where a user needs to show the simple Yes\/No two options in an effective way. It adds an interactive visual element for users in Dynamics 365 web, Mobile and Tablet app!<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/product\/productivity-pack\/click-2-export-microsoft-dynamics-crm-reports\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter  wp-image-10864\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/Click2Export-banner.png\" alt=\"Export Dynamics CRM Reports\" width=\"828\" height=\"207\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: In our previous blogs of the \u2018Controls in Dynamics 365 for Mobile App\u2019 series, we discussed\u00a0Input Mask,\u00a0Multimedia,\u00a0Website Preview,\u00a0Auto-Complete,\u00a0Option set,\u00a0Star Rating\u00a0controls and Contract Calendar. The Contract Calendar Control may help you to view the time table in order to understand what time the task needs to be performed on weekly basis. Contract calendar Control can\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2018\/04\/controls-in-dynamics-365-for-mobile-app-flip-switch\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":11585,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[11,40],"tags":[341,343,1190],"class_list":["post-11580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-controls","category-mobile-controls","tag-controls-in-dynamics-365","tag-controls-in-dynamics-365-mobile-app","tag-mobile-controls"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/11580","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=11580"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/11580\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/11585"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=11580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=11580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=11580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}