Customisation, Dynamics 365

Where is the Remove Component Button!!!!!!

One of the great little features given since Microsoft Dynamics CRM 2016 was the ability to add and remove sub components from the solution. With this feature you can explicitly select only the components you want to have in your solution.

Today I was working on a solution and all a sudden the “Remove Component Button” is missing!

Now the question is,  what happened to it? What did I do to break it? or did Microsoft remove it?

Turns out it was my fault ☹. Firstly, when I add components to the solution, if I select “Add All Assets” instead of individually cherry picking the components the “Remove Component Button” won’t appear. It will only appear if I explicitly select and add the components one by one.

While researching about this issue I also came across another limitation with the  “Remove Component Button” explained in this blog article by Magnetism. When you remove fields from solution in bulk they need to be of the same type . Now be mindful what referred here by Type is NOT the data type , it refers to Type as Custom or system fields. So, if you want to remove both custom and system fields in bulk from your solution you must ensure that you to do them as two separate tasks or else you will get an error message as “You can only perform this action for records of the same type.”

Hope this quick tip will come handy in your day to day consulting work . Please feel free to ask any questions.

 

Sahan Wijayasekera

Tagged , , ,

2 thoughts on “Where is the Remove Component Button!!!!!!

  1. Thanks for the information. Do you know if there is a way to remove components at this point (I am encountering the same issue, looks like an entity was added with all assets and I am looking to remove some forms before exporting the solution).

    1. Hi , My apologies on the delayed reply . My advice would be to create another solution and re add the components . Hope this helps

      Regards,
      Sahan

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.