Breyta

Deila með


avoid-dom-form

Don't use the Document Object Model (DOM) of model-driven apps directly. This isn't a supported approach in Dynamics 365 or Power Apps. Use the supported Client API object model instead.

Options

  • By default, violations are only reported when certain Xrm or Mscrm calls are made in the same file, so that violations outside of Dataverse are not reported. The requireXrm option, which is true by default, can be set to false to report all violations regardless of Xrm or Mscrm usage
    • Example: "@microsoft/power-apps/avoid-dom-form": ["error", { requireXrm: false }]