CRM 2015 – Solutions – Dependency tracking for solution components




How often we have to delete components from a solution and it says ( You can’t delete any solution component that has dependencies on another solution component. )

There we download the file and dig in there for the reason, why not to develop a piece of code to help us on that? Yes, the target in here is more technical, however in any team we will need to have a developer, so ask him. 🙂

Below the requests that can be called for that purpose.

The following table lists the messages that you can use to retrieve data about solution component dependencies.

Message Description

RetrieveDependentComponentsRequest

Returns a list of dependencies for solution components that directly depend on a solution component.

For example, when you use this message for a global option set solution component, dependency records for solution components representing any option set attributes that reference the global option set solution component are returned.

When you use this message for the solution component record for the account entity, dependency records for all of the solution components representing attributes, views, and forms used for that entity are returned.

RetrieveRequiredComponentsRequest

Returns a list of the dependencies for solution components that another solution component directly depends on. This message provides the reverse of the RetrieveDependentComponentsRequest message.

RetrieveDependenciesForDeleteRequest

Returns a list of all the dependencies for solution components that could prevent deleting a solution component.

RetrieveDependenciesForUninstallRequest

Returns a list of all the dependencies for solution components that could prevent uninstalling a managed solution.


Hope it helps.

#Code #Solutions

0 views0 comments

Recent Posts

See All