We are trying to import a solution from an org A to an org B such that the ribbon changes made in the org A is not imported. While adding an entity to a solution in org A, we excluded the metadata and added the entity. While exporting this solution from org A and importing it to org B, the ribbon changes made in the entity in the org A replaces all the ribbon changes made to the same entity in the org B.
Is there a way such that the ribbon changes are not included in the solution?
Unfortunately, Ribbondiff
xml of Entity Metadata definition is not a sub-component that can be segmented as a part of solution yet.
In other words, there is no granularity to skip the ribbon changes only using solution between environments. Ribbon always goes.
One workaround is to open the CRM ribbon workbench, copy the xml as a backup from Org B. After moving the entity solution from Org A to Org B, paste the backup xml into Org B to restore/publish.