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

Cancelled Appointments not synced in Outlook ?

 Introduction: In this blog, we will see how to sync Cancelled Appointments in Outlook . Implementation Steps: 1. Navigate to https://make.p...