Skip to content

Commit 7aac2af

Browse files
committed
When generating form type definitions, ignore the special form types InteractionCentricDashboard and TaskFlowForm. Neither has any apparent applications,as you can't apply web ressource handlers to them. As they contain attributes and controls that are not mappable.
1 parent 5c16122 commit 7aac2af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XrmDefinitelyTyped/Generation/FileGeneration.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ let generateFormDefs state crmVersion generateMappings =
272272
if i = 0 then form
273273
else { form with name = sprintf "%s%i" form.name i }))
274274
|> Array.concat
275-
|> Array.filter (fun (form: XrmForm) -> form.formType.IsNone || (form.formType.IsSome && form.formType.Value <> "Card"))
275+
|> Array.filter (fun (form: XrmForm) -> form.formType.IsNone || (form.formType.IsSome && form.formType.Value <> "Card" && form.formType.Value <> "InteractionCentricDashboard" && form.formType.Value <> "TaskFlowForm"))
276276
|> Array.Parallel.map (fun xrmForm ->
277277
let path = sprintf "%s/Form/%s%s" state.outputDir xrmForm.entityName (getFormType xrmForm)
278278
let lines = getFormDts xrmForm crmVersion generateMappings

0 commit comments

Comments
 (0)