+Use <xref:Microsoft.Crm.Sdk.Messages.AddSolutionComponentRequest> only when you know the correct `ComponentType` integer value for the component you want to add. Most common component types are defined in the `componenttype` global choice, which is used by the [SolutionComponent.ComponentType choice column](/power-apps/developer/data-platform/reference/entities/solutioncomponent#componenttype-choicesoptions), but some newer component types might not be listed there. When possible, create or update the component in the context of the target solution by using a `SolutionUniqueName` property or the `SolutionUniqueName` optional parameter. More information: [Associate a solution component with a solution using an optional parameter](/power-apps/developer/data-platform/optional-parameters#associate-a-solution-component-with-a-solution).
0 commit comments