Xrm

This object has multiple internal objects for working with different components. The following are the high-level objects that come under this object:

Xrm.Utility.showProgressIndicator("Fetching entity records....");

This will be displayed to the user as follows:

When we want to close the progress indicator, we can use the following method:

Xrm.Utility.closeProgressIndicator()

Now that we understand the client-side API object model, let's look at the events that are exposed to entity forms and the fields in which we can associate our client-side script.