Changes in Client API or Client Script in Dynamics 365 for Customer Engagement
If you are a CRM developer and want to write Client Script in Dynamics 365 then you are at right place. There are huge changes in Client API in Dynamics 365 for Customer Engagement. From CRM 2011 we are familiar with XRM.Page but it is deprecated in Dynamics 365 for Customer engagement and it has been replaced with ExecutionContext. getFormContext . What is Execution Context : The execution context defines the event context in which your code executes. The execution context is passed when an event occurs on a form or grid, which you can use it in your event handler to perform various tasks such as determine formContext or gridContext , or manage the save event. Execution context was already in previous version of CRM but we can easily access other client API by XRM.Page hence we did not use it always. You will get more details at below link: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/clientapi-execution-context