This chapter is focused on introducing and using the client-side enhancements available within Microsoft Dynamics CRM 365. We will cover some client-side script functions with examples and then also discuss the web API, which offers a new way of querying CRM data directly from JavaScript, in the latter part of the chapter.
Generally, in Microsoft Dynamics 365, JavaScript is used to perform actions in the form of scripts and ribbon commands, and in the form of web resources.
In this chapter, we will go through the following:
- Client-side script functions with examples
- Form scripts and validating data using JavaScript
- Creating JavaScript web resources
- The web API—a new way of querying CRM data directly from JavaScript
Now, let's look at some scenarios for in-depth coverage of the enhancements that can be done using JavaScript.