Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Blog Post: USD – window.IsUSD

$
0
0
Within Unified Service Desk (USD) for Microsoft Dynamics CRM sometimes you might wish to create some functionality on a CRM form that only happens whilst in USD. The can be achieved by using a window.IsUSD command in your JavaScript. This command will return true when in USD and false when not. Simples. To demonstrate this I added a simple check to my on load event in my contact form. The simple code looked like this; function onLoad() { if(window.IsUSD == true) { alert("This form is being loaded in USD!"); } else { alert("This form is being loaded NOT in USD!"); } } When I load in USD I get this. And you can guess what happens when I’m not in USD. Hopefully you can see how this simple command might be helpful. J Filed under: USD - Configuration Tagged: CRM , Microsoft Dynamics CRM , Unified Service Desk , USD

Viewing all articles
Browse latest Browse all 71679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>