XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

RelationshipInsights results in uncompilable context

Open mkholt opened this issue 6 years ago • 0 comments

Describe the bug When Relationship Insights is installed, but not enabled, a control "HealthWidget" is added to the Contact form. The control cannot be removed, and will result in the following typing being generated: get(name: "Healthwidget"): Xrm.SubGridControl<NoAttribute>;

This will result in the context not being compilable.

To Reproduce Steps to reproduce the behavior:

  1. Have an environment where Relationship Insights is installed but not enabled
  2. Generate Typescript context

Expected behavior The control should either be ignored, or the NoAttribute type should be defined so it can compile.

Environment

  • CRM/D365/CDS version: 9.1.0.7625
  • Tool version: 4.3.13

mkholt avatar Aug 19 '19 13:08 mkholt