Saturday, January 4, 2025

Read And Write The Dynamics 365 CRM Currency Field Using Java Script

Follow below code to read and write the Currency field of Dynamics 365 CRM.

1. To Read the value:
Below code are read the Name field value and store into empSalary variable.

var empSalary = formContext.getAttribute("min_salary")?.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 (empSalary !== null && empSalary !== undefined)
{
  formContext.getAttribute("min_salary1").setValue(empSalary);
}

No comments:

Post a Comment

What Is A Column In Dynamics 365 CRM?

 In This Post we are going to Explain