Posts

Showing posts from November, 2016

Want to delete a managed component? Use the clone solution feature in CRM 2016.

Image
Have you ever had the need to delete a component present in a managed solution? Let’s say, I have a solution ‘Delete from Managed’ with two entities ‘Entity to Retain’ and ‘Entity to Delete’ at the development server. I export it as a managed solution and then import it at the production server. Everything works fine. Some stage later, you find that ‘Entity To Delete’ is no longer needed and you want to remove it from the production server, but you cannot do so because the solution is a managed one. What do I do now? Before CRM 2016, there was a work around to this issue i.e.  holding solution . In CRM 2016 I’ve found that we could use the clone solution feature to complete this task. Let’s see it step by step. The screen below shows my original solution.   First, I clone the solution at the development server. Notice that cloning solution increases the version number of the solution. I then, delete the unuse