Determine if a user has a particular security role
Consider the situation where a field on a Dynamics 365 form needs to be either shown or hidden...
Xrm.Utility.lookupObjects to add records to a subgrid
This post explains how to ‘re-wire’ the ‘Add Existing Court Orders’ button (Figure 1) to call the Xrm.Utility.lookupObjects...
Communication between React PCF controls and the form
The PCF framework supports communication between the PCF and form via binding to a field or dataset. However,...
Create and deploy a standard PCF control
The post describes the steps involved in creating and deploying a simple PCF control
Making Xrm.WebAPI calls synchronous
Overview This post describes two examples for how to interact with Xrm.WebApi.retrieveMultipleRecords(). The first is an asynchronous approach...
Unit testing with xrm-mock in Visual Studio 2022
Overview The purpose of this post is to provide an introduction into how to setup automated unit testing...
Unit testing with xrm-mock in Visual Studio Code
Overview The post provides a few examples of unit tests for Dynamics 365 client-side TypeScript (Figure 6). It...
Getting started with XrmDefinitelyTyped
Introduction XrmDefinitelyTyped generates TypeScript declaration files for Dynamics 365 client-side coding (model driven forms). It’s the TypeScript equivalent...