Personalized Community is here!
Quickly customize your community to find the content you seek.
Microsoft Customer Co-creation
Help impact how the tools and services you rely on are developed. Microsoft Customer Co-creation connects you directly with our engineers so you can provide feedback before a single line of code is written. Interested? Learn more at Microsoft Customer Co-creation
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
The following code example will show you how to add solution components to an unmanaged solution specified in the SolutionUniqueName property using the AddSolutionComponentRequest Class. Adjust the ComponentType and ComponentId values depending on the type of component that you want to add to the solution.
//Retrieve a component (The contact entity is retrieved for this example).
var retrieveRequest = new RetrieveEntityRequest()
LogicalName = Contact.EntityLogicalName
var retrieveResponse = (RetrieveEntityResponse)service.Execute(retrieveRequest);
//Add component to an unmanaged solution.
var addSolutionComponentRequest = new AddSolutionComponentRequest()
ComponentType = (int)componenttype.Entity,
ComponentId = (Guid)retrieveResponse.EntityMetadata.MetadataId,
SolutionUniqueName = solution.UniqueName
Dynamics 365 stores components of a CRM solution inside an entity called Solution Component. The componenttype field provides information on the object type code of these components. A complete list of these values can be found in the table below.
For solution components that derive from MetadataBase, the correct value of the ComponentId is the MetadataId property. For other solution components, use the property that is the unique identifier for the entity.
Business Applications communities