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

Forum Post: Does anyone have better solution for language based JavaScript code?

$
0
0
Hi, I have a JavaScript function on Case form in which I am fetching BPF's active stage using XRM object. Below is skeleton of my code: var activeStage = getActiveStage(); //Identify if (activeStage === "Identify") { //perform some operations } It is working fine for English language, but when I change the language to another language, the condition fails. Any solution ? In worst case, I will have to create an array and based on language id I will pass the value. Thanks in advance.

Viewing all articles
Browse latest Browse all 154803

Trending Articles



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