FormContext to retrieve and set field values in MSCRM/Dataverse
Ram Prakash
2,285
Introduction:
Day 2 : using FormContext to retrieve and set field values in MSCRM/Dataverse forms.
Sample JavaScript
function onLoad(executionContext) { debugger; var formContext = executionContext.getFormContext(); if (formContext.getAttribute("bosch_dayname").getValue() != null) { formContext.getAttribute("bosch_setvalue").setValue(formContext.getAttribute("bosch_dayname").getValue()) } }
Video for your Reference
This was originally posted here.
*This post is locked for comments