{"id":30688,"date":"2022-02-18T14:57:13","date_gmt":"2022-02-18T09:27:13","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=30688"},"modified":"2022-02-18T15:15:02","modified_gmt":"2022-02-18T09:45:02","slug":"how-to-read-the-value-from-a-flip-switch-control-in-easyrepro","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/","title":{"rendered":"How to read the value from a Flip Switch Control in EasyRepro?"},"content":{"rendered":"<h2 style=\"text-align: justify;\"><strong>Introduction:<\/strong><\/h2>\n<p style=\"text-align: justify;\">Over time we have seen how by using EasyRepro we can perform UI Automation testing in Dynamics 365 CRM by getting and setting values in fields of different datatypes. In EasyRepro we do find predefined methods to get and set values of fields of different data types.<\/p>\n<p style=\"text-align: justify;\">However, recently while creating an automation project for our in-house solution we were needed to read the value from a Two OptionSet field for which the Flip Switch was enabled.<\/p>\n<p style=\"text-align: justify;\">Usually, to read the value from a boolean field in easyrepro we would use the predefined <strong><em>GetValue<\/em><\/strong> method given below:<\/p>\n<p style=\"text-align: justify;\"><code>var boolValue = xrmApp.Entity.GetValue(new BooleanItem { Name = \"<strong><em>Logical Name<\/em><\/strong>\"});<\/code><\/p>\n<p style=\"text-align: justify;\">But we noticed that for a boolean field with Flip Switch enabled, this method was not giving the desired output.\u00a0 It did rather threw the following exception \u201cField: &lt;<strong><em>logical name&gt;<\/em><\/strong> Does not exist\u201d.<\/p>\n<p style=\"text-align: justify;\">To continue with our testing while avoiding the above issue we took the alternative step given below. And the boolean field used for context is <em>\u201c<\/em><em>ikl_showsubscriptionfields\u201d<\/em>.<\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 1:<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">First, we need to find the switch element to read its properties. And to access an element it is imperative we stay on current window. The below lines of code will ensure that we are on the current window where the field is present.<\/p>\n<p style=\"text-align: justify;\"><code>\/\/Get the Current window handle<\/code><br \/>\n<code>var win = client.Browser.Driver.CurrentWindowHandle;<\/code><br \/>\n<code>\/\/Switch to the window retrieved above<\/code><br \/>\n<code>var currentWin = client.Browser.Driver.SwitchTo().Window(win);<\/code><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 2: <\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Look for the element attribute which changes on change of the switch. The attribute is <strong><em>area-checked<\/em><\/strong>. And as can be seen from the below screenshot the value is false when the toggle is off.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30689 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png\" alt=\"read the value from a Flip Switch Control in EasyRepro\" width=\"1230\" height=\"392\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png 1230w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1-300x96.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1-1024x326.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1-768x245.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1-660x210.png 660w\" sizes=\"(max-width: 1230px) 100vw, 1230px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">Once the toggle is on the value changes to true.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-2.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30690 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-2.png\" alt=\"read the value from a Flip Switch Control in EasyRepro\" width=\"393\" height=\"71\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-2.png 393w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-2-300x54.png 300w\" sizes=\"(max-width: 393px) 100vw, 393px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30691 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3.png\" alt=\"read the value from a Flip Switch Control in EasyRepro\" width=\"1238\" height=\"391\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3.png 1238w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3-300x95.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3-1024x323.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3-768x243.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-3-660x208.png 660w\" sizes=\"(max-width: 1238px) 100vw, 1238px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 3:<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Now get the element using the attribute data-id in CssSelector in your code as shown below.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30692 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4.png\" alt=\"read the value from a Flip Switch Control in EasyRepro\" width=\"1243\" height=\"385\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4.png 1243w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4-300x93.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4-1024x317.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4-768x238.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-4-660x204.png 660w\" sizes=\"(max-width: 1243px) 100vw, 1243px\" \/><\/a><\/p>\n<p style=\"text-align: left;\"><code>var regardingElement = currentWin.FindElement(By.CssSelector(\"[data-id*='ikl_showsubscriptionfields'] [role='checkbox']\"));<\/code><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 4 :<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Once you get the element now get the attribute value of \u201caria-checked\u201d as shown below by using <strong><em>GetDomAttribute()<\/em><\/strong> method of Easyrepro.<\/p>\n<p style=\"text-align: justify;\"><code>var isChecked = regardingElement.GetDomAttribute(\"aria-checked\");<\/code><\/p>\n<p style=\"text-align: justify;\">Below is the entire sample code<\/p>\n<p style=\"text-align: left;\"><code>\/\/Get the Current window handle<\/code><br \/>\n<code>var win = client.Browser.Driver.CurrentWindowHandle;<\/code><br \/>\n<code>\/\/Switch to the window retrieved above<\/code><br \/>\n<code>var currentWin = client.Browser.Driver.SwitchTo().Window(win);<\/code><br \/>\n<code>\/\/Get the element<\/code><br \/>\n<code>var regardingElement = currentWin.FindElement(By.CssSelector(\"[data-id*='ikl_showsubscriptionfields'] [role='checkbox']\"));<\/code><br \/>\n<code>\/\/Read the attribute to get the boolean value from the element<\/code><br \/>\n<code>var isChecked = regardingElement.GetDomAttribute(\"aria-checked\");<\/code><\/p>\n<h2 style=\"text-align: justify;\"><strong>Conclusion:<\/strong><\/h2>\n<p style=\"text-align: justify;\">In this way, you can easily get the value of flip switch control in EasyRepro.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/user-adoption-monitor-in-dynamics-crm\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-30704 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/UAM.jpg\" alt=\"UAM\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/UAM.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/UAM-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/UAM-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/UAM-660x165.jpg 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Over time we have seen how by using EasyRepro we can perform UI Automation testing in Dynamics 365 CRM by getting and setting values in fields of different datatypes. In EasyRepro we do find predefined methods to get and set values of fields of different data types. However, recently while creating an automation project\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/\">Read More: How to read the value from a Flip Switch Control\u2026 &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":[16,19,2192,38,2361],"tags":[2104],"class_list":["post-30688","post","type-post","status-publish","format-standard","hentry","category-dynamics-365","category-dynamics-crm","category-easyrepro","category-microsoft-powerapps","category-technical","tag-easyrepro"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1230\" \/>\n\t\t<meta property=\"og:image:height\" content=\"392\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-02-18T09:27:13+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-02-18T09:45:02+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#blogposting\",\"name\":\"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"How to read the value from a Flip Switch Control in EasyRepro?\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#articleImage\",\"width\":1230,\"height\":392,\"caption\":\"read the value from a Flip Switch Control in EasyRepro\"},\"datePublished\":\"2022-02-18T14:57:13+05:30\",\"dateModified\":\"2022-02-18T15:15:02+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#webpage\"},\"articleSection\":\"Dynamics 365, Dynamics CRM, EasyRePro, Microsoft PowerApps, Technical, Easyrepro\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"name\":\"Dynamics 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"position\":2,\"name\":\"Dynamics 365\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/microsoft-powerapps\\\/#listItem\",\"name\":\"Microsoft PowerApps\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/microsoft-powerapps\\\/#listItem\",\"position\":3,\"name\":\"Microsoft PowerApps\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/microsoft-powerapps\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#listItem\",\"name\":\"How to read the value from a Flip Switch Control in EasyRepro?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"name\":\"Dynamics 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#listItem\",\"position\":4,\"name\":\"How to read the value from a Flip Switch Control in EasyRepro?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/microsoft-powerapps\\\/#listItem\",\"name\":\"Microsoft PowerApps\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/\",\"name\":\"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2022\\\/02\\\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2022-02-18T14:57:13+05:30\",\"dateModified\":\"2022-02-18T15:15:02+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.","canonical_url":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#blogposting","name":"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"How to read the value from a Flip Switch Control in EasyRepro?","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#articleImage","width":1230,"height":392,"caption":"read the value from a Flip Switch Control in EasyRepro"},"datePublished":"2022-02-18T14:57:13+05:30","dateModified":"2022-02-18T15:15:02+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#webpage"},"articleSection":"Dynamics 365, Dynamics CRM, EasyRePro, Microsoft PowerApps, Technical, Easyrepro"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","name":"Dynamics 365"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","position":2,"name":"Dynamics 365","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/microsoft-powerapps\/#listItem","name":"Microsoft PowerApps"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/microsoft-powerapps\/#listItem","position":3,"name":"Microsoft PowerApps","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/microsoft-powerapps\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#listItem","name":"How to read the value from a Flip Switch Control in EasyRepro?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","name":"Dynamics 365"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#listItem","position":4,"name":"How to read the value from a Flip Switch Control in EasyRepro?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/microsoft-powerapps\/#listItem","name":"Microsoft PowerApps"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/","name":"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks","description":"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2022-02-18T14:57:13+05:30","dateModified":"2022-02-18T15:15:02+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.","og:url":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png","og:image:width":1230,"og:image:height":392,"article:published_time":"2022-02-18T09:27:13+00:00","article:modified_time":"2022-02-18T09:45:02+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"How to read the value from a Flip Switch Control in EasyRepro? - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/02\/read-the-value-from-a-Flip-Switch-Control-in-EasyRepro-1.png","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"30688","title":"","description":"In this blog, learn how to read the value from a Flip Switch Control in EasyRepro.","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 07:58:57","updated":"2025-07-04 09:06:29","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/\" title=\"Dynamics 365\">Dynamics 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/microsoft-powerapps\/\" title=\"Microsoft PowerApps\">Microsoft PowerApps<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to read the value from a Flip Switch Control in EasyRepro?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics 365","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/"},{"label":"Microsoft PowerApps","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/microsoft-powerapps\/"},{"label":"How to read the value from a Flip Switch Control in EasyRepro?","link":"https:\/\/www.inogic.com\/blog\/2022\/02\/how-to-read-the-value-from-a-flip-switch-control-in-easyrepro\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/30688","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=30688"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/30688\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=30688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=30688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=30688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}