Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Ribbon Workbench customizations in managed solution

  • 1.  Ribbon Workbench customizations in managed solution

    TOP CONTRIBUTOR
    Posted 17 days ago
    Hi,

    I'm using @Scott Durow's amazing Ribbon Workbench via XrmToolBox to hide some actions on the Opportunity ribbon which are not possible using security roles.

    I have created a solution for this purpose, where I have only added the Opportunity entity to the solution. I have loaded this solution in Ribbon Workbench and hidden some actions. Afterwards, I have exported the solution as a managed solution and imported it to my target environment.

    I thought by importing the ribbon customizations as a managed solution I would be able to remove them again. However, when I remove the managed solution only containing the ribbon customizations, the hidden actions remain hidden.

    When I load my core solution in Ribbon Workbench I can now see, the ribbon customizations appear in that solution.

    I'm a bit confused now. Is normal behaviour and is it just me that's doing it wrong?

    ------------------------------
    BR,
    Niels
    ------------------------------


  • 2.  RE: Ribbon Workbench customizations in managed solution

    SILVER CONTRIBUTOR
    Posted 16 days ago
    It looks like according to the information here: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/understand-managed-solutions-merged that your expectation of uninstalling the managed solution and having it remove the ribbon customization is what should happen.

    It specifically talks about uninstalling.

    " Later, if the managed solution is uninstalled, the SiteMap XML that was imported with the managed solution will be referenced to remove the changes introduced with that managed solution. A new active SiteMap is then calculated."

    ------------------------------
    Andy Arndt
    Minitab, Inc.
    State College PA
    ------------------------------



  • 3.  RE: Ribbon Workbench customizations in managed solution

    TOP CONTRIBUTOR
    Posted 16 days ago
    Edited by Niels Lønberg 16 days ago
    Thanks for clarifying that, @Andy Arndt.

    I thought it was best practice to make the ribbon customizations in a solution of its own. But that might only be related to a way of speeding up the opening and publishing of solutions in the Ribbon Workbench.

    ------------------------------
    BR,
    Niels
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role