Wednesday, 20 May 2015

Get Language Code (LCID) of the User in CRM 2011/2013/2015

Hi,

Here is the JavaScript to get the LCID (Locale Id) of User and Organization Base Language.
 
// Current User Language ID
var currUserLcid = Xrm.Page.context.getUserLcid();
// Organization Base Language ID
var orgLcid = Xrm.Page.context.getOrgLcid();

Check this for Microsoft Locale ID Values

Hope this helps

--
Happy CRM'ing
Gopinath


 

No comments:

Post a Comment