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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :

FormContext to retrieve and set field values in MSCRM/Dataverse

Ram Prakash Duraisamy Profile Picture Ram Prakash Duraisamy 5,699 Super User 2026 Season 1

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