HI,
I am facing a very odd issue. After upgrading to CRM 2016(onprem) from 2015 one of the scripts stopped working or I should say working intermittently.
I've debug the script line by line and everything seems to flow completely fine. The last line of script is setting the value of a field and it does show the variable that holds the field value has the correct value in it and yet the field remains blank.
var countryNumber1 = countryNumber(countryId);
if (countryNumber1 != null) {
Xrm.Page.getAttribute("new_countrynumber").setValue(countryNumber1); // values exists in countryNumber1 and yet field remains blank on the form
}
Sometimes it populates the field values and sometimes not. I wasn't sure how else to troubleshoot hence asking for some guidance.
Thanks for any help.
*This post is locked for comments