Monthly Archives: June 2015

JavaScript Helper Functions


//Get the Field Value function GetFieldValue(fieldName) { try { if (Xrm.Page.getAttribute(fieldName).getValue() != null) { return Xrm.Page.getAttribute(fieldName).getValue(); } else { return null; } } catch (ex) { Xrm.Utility.alertDialog(ex.description, null); } } //Get the OptionSet Value function GetOptionSetValue(fieldName) { try { if … Continue reading

Posted in Ms Dynamics CRM 2013, MS Dynamics CRM 2015 | Tagged | Leave a comment