Client scripting in Customer Engagement using JavaScript

Client-side scripting using JavaScript is one of the ways to apply custom business process logic for displaying data on a form in Dynamics 365 for Customer Engagement apps. Forms in Customer Engagement apps help display data to the user. A form in a Customer Engagement app can contain items such as fields, a quick form, or a grid.

You can also use business rules, which provides a way for someone, who does not know JavaScript and is not a developer, to apply business process logic in a form. More information: Create business rules and recommendations to apply logic in a form

Dynamics 365 for Customer Engagement apps provide you a rich set of client APIs to interact with form objects and events to control what and when to display on a form.


Dynamics 365 for Customer Engagement apps are model-driven apps that you create using PowerApps. All the client API documentation for Customer Engagement apps is now available in the model-driven apps section of the PowerApps documentation here: Apply business logic using client scripting in model-driven apps using JavaScript

Some client APIs are deprecated in the current release of Dynamics 365 for Customer Engagement apps. Ensure that you are aware of these APIs as you write your client-side code for Customer Engagement. More information: Deprecated client APIs

Get Started

Events in forms and grids

Understand the Client API object model

Walkthrough: Write your first client script


Client API reference

Web resources for Customer Engagement

Customize commands and the ribbon