XrmDefinitelyTyped
XrmDefinitelyTyped copied to clipboard
RelationshipInsights results in uncompilable context
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:
- Have an environment where Relationship Insights is installed but not enabled
- 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