Follow below code to read and write the Whole Number field of Dynamics 365 CRM.
1. To Read the value:
Below code are read the Name field value and store into empPostalCode variable.
var empPostalCode = formContext.getAttribute("min_postalcode")?.getValue();
2. To Set/Update value:
Below code will be check the Name field contains data, if it contains then set/update the address1 field value.
if (empPostalCode !== null && empPostalCode !== undefined)
{
formContext.getAttribute("min_postalcode1").setValue(empPostalCode );
}
No comments:
Post a Comment