delegateas/XrmDefinitelyTyped

Generated types missing some fields

szmarci opened this issue · 2 comments

Describe the bug
A have a custom Lead form:

image

When I generate types, some fields are missing for some reason:

image

All the fields are published on the form as can be seen on the screenshot.

Environment

  • CRM/D365/CDS version: 9.2.21055.00135
  • Tool version: 5.5.1

When I'm looking at the default form, first name and last name are shown when the name field is shown. Are you sure, your form contains the individual fields, and not the composite one?

Another possibility is that your formContext type refers to another form than your custom form. Have you checked the type actually matches your form, and not the default form?

@misoeli Ah, you are right, it was the composite field. Thanks, I'm closing this.