Monday, October 7, 2024

Day 10 - Using JavaScript to Set Field Requirements Dynamically - JavaScript in MSCRM/Dataverse

 In this Blog, we will see how to Set Field Requirements Dynamically - JavaScript in MSCRM/Dataverse



if (formContext.getAttribute("bosch_booleanfield").getValue() == true) {
        formContext.getAttribute("bosch_enabledisablefield").setRequiredLevel("none");
    }
    else if (formContext.getAttribute("bosch_booleanfield").getValue() == false) {
        formContext.getAttribute("bosch_enabledisablefield").setRequiredLevel("required");
   }

1 comment:

  1. CRM Dynamics' smooth connection with other Microsoft applications is one of its best features. It facilitates easy communication between marketing and sales.
    crm dynamics
    dynamics crm 365

    ReplyDelete

How to View Flow Run History in Power Automate?

  Introduction: In this blog, we will see how to View Flow Run History in Power Automate. Implementation Steps:  Navigate to  https://admin....