Solution Entity Messages and Methods
A solution represents a group of solution components that can be exported or imported.
When a solution is managed, it is treated as a single unit of software. Deleting a managed solution removes all the solution components.
When a solution is unmanaged, it is just a named grouping for a set of solution components. Deleting an unmanaged solution just removes the group. All solution components remain. A managed solution is created by exporting an unmanaged solution and selecting to export it as a managed solution. The schema name for this entity is Solution.
The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.
| Message | Description |
|---|---|
|
Creates a link between a record and one or more records that participate in a relationship. You can also use the IOrganizationService.Associate method. For more information, see Actions on Entity Records. For a list of default relationships for this entity, see Solution Entity Metadata. |
|
|
Creates a solution. You can also call the IOrganizationService.Create method. |
|
|
Deletes a solution. You can also call the IOrganizationService.Delete method. |
|
|
Removes a link between a record and one or more records that participate in a relationship. You can also use the IOrganizationService.Disassociate method. For more information, see Actions on Entity Records. For a list of default relationships for this entity, see Solution Entity Metadata. |
|
|
Export a managed or unmanaged solution. |
|
|
Import a managed or unmanaged solution. |
|
|
Initializes a new record from an existing record provided that an attribute map is defined for the two entities. For more information, see Customize Entity and Attribute Mappings. |
|
|
Detects and retrieves duplicate records for the specified record provided that duplicate detection is enabled and there are published duplicate detection rules for the entity. For more information, see Detect Duplicate Data in Microsoft Dynamics CRM. |
|
|
Retrieves a solution. You can also call the IOrganizationService.Retrieve method. |
|
|
Retrieves a collection of solutions. You can also call the IOrganizationService.RetrieveMultiple method. |
|
|
Updates a solution. You can also call the IOrganizationService.Update method. |
Constant SolutionId Values
When you program using solutions you may need to reference the following solution records. Each Microsoft Dynamics CRM organization has the following solutions that can be referenced by the SolutionId values.
| Name | SolutionId | Description |
|---|---|---|
|
Default |
|
The Default solution does not contain any solution components. It contains references to all the managed and unmanaged solution components in the system. |
|
Active |
|
The Active solution represents the current published unmanaged customizations that define the behavior of the application. |
See Also
Concepts
Solution Entity MetadataIntroduction to Solutions
Solution Entity Privileges
Other Resources
Solution EntitiesMicrosoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2012 Microsoft Corporation. All rights reserved.