web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

FormContext to retrieve and set field values in MSCRM/Dataverse

Ram Prakash Profile Picture Ram Prakash 5,576 Super User 2025 Season 2

Introduction:


Day 2 : using FormContext to retrieve and set field values in MSCRM/Dataverse forms.


function onLoad(executionContext) {
    var formContext = executionContext.getFormContext();

    if (formContext.getAttribute("bosch_dayname").getValue() != null) {
        formContext.getAttribute("bosch_setvalue").setValue(formContext.getAttribute("bosch_dayname").getValue())
    }
}


Comments