formcontext
FormContext is a client-side API object used in Microsoft Dynamics 365 Customer Engagement and the broader Power Platform for form scripting. It represents the specific form instance that is currently loaded, replacing the older Xrm.Page model in recent versions. FormContext provides access to the form’s data, UI, and runtime context, enabling developers to create dynamic, client-side behavior.
In practice, formContext is supplied to form event handlers through the executionContext parameter. You obtain the
Core areas of the API include the data API and the UI API. The data API allows
FormContext is the recommended approach for client-side form scripting in modern Dynamics 365 applications. It is