Skip to content
Thomas Malowanczyk edited this page Jun 6, 2020 · 1 revision

The xrm.d.ts defines the client API for CRM. This API has changed quite a lot over the years. Each new version of CRM has introduced new features, deprecated other, and removed features entirely. This is escpecially true for the change introduced in version 8.2 and 9.

XDT contains a set of extension files that modifies the base xrm.d.ts file based on the targeted CRM version. These extension files has a specific naming convention that defines which version a specific extension should be applied to.

The extension files is defined as, xrm_ext_{A}-{D}-{R}.d.ts, and contains 3 parameters:

  • {A} Version content was added
  • {D} Version content was deprecated
  • {R} Version content was removed

Examples

xrm_ext_7-.d.ts

Content is be applied for CRM version 7.0 and up to all higher versions.

xrm_ext_7-8.2-.d.ts

Content is applied for CRM version 7.0 and up to, but not including, version 8.2. If the flag useDeprecated is set. Then the content is also applied for version 8.2 and up.

xrm_ext_7-8.2-9.d.ts

Content is applied for CRM version 7.0 and up to, but not including, version 8.2. If the flag useDeprecated is set. Then the content is also applied for version 9.0 and up to, but not including version 9.0.

xrm_ext_-8.d.ts

Content is applied for CRM all version below version 8.0.