This topic has not yet been rated - Rate this topic

Solution Entity Messages and Methods

[Applies to: Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online]

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

AssociateRequest

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.

CreateRequest

Creates a solution. You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes a solution. You can also call the IOrganizationService.Delete method.

DisassociateRequest

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.

ExportSolutionRequest

Export a managed or unmanaged solution.

ImportSolutionRequest

Import a managed or unmanaged solution.

InitializeFromRequest

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.

RetrieveDuplicatesRequest

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.

RetrieveRequest

Retrieves a solution. You can also call the IOrganizationService.Retrieve method.

RetrieveMultipleRequest

Retrieves a collection of solutions. You can also call the IOrganizationService.RetrieveMultiple method.

UpdateRequest

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

{FD140AAF-4DF4-11DD-BD17-0019B9312238}

The Default solution does not contain any solution components. It contains references to all the managed and unmanaged solution components in the system.

Active

{FD140AAE-4DF4-11DD-BD17-0019B9312238}

The Active solution represents the current published unmanaged customizations that define the behavior of the application.

See Also

Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2012 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.