web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Ribbon Workbench : how to reset standard buttons to their default state?

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I am using CRM online with the 2016 Ribbon Workbench, and was trying to dynamically hide a subgrid's controls (add, remove, etc). Inside the workbench, this involved right clicking the standard buttons "Add" & "Remove" and clicking Customise Command. This added these buttons to the Buttons tab in the Solution Elements table. I tried using the enable rules and display rules to achieve what I wanted, and had to publish the solution to test the changes. After no success, I decided to forget the idea; but now I'm stuck with a new problem : now the Remove button is permanently hidden (meaning when I hover over records in the subgrid - no trash can icon anymore). I have deleted all enable and display rules. I cannot 'uncustomise' these buttons, they remain under the buttons tab, and the only way I can remove them is right-click, delete - I need these buttons, so that is not an option.

This is a bizarre way to get stuck, why am I unable to undo changes to these native buttons? Or even reset them? And why is the Remove button remaining hidden, there are no rules applied to it??

Any help would be greatly appreciated. If I need to elaborate further, please ask.

Thanks,
Calum

*This post is locked for comments

I have the same question (0)
  • Daniel Wikell Profile Picture
    2,360 on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi

    There's also a thing called "HideAction" which is what is applied to native buttons for when you want to hide them right away (without any display/enable rules involved). Perhaps you did just this thing to the remove button? If so you should be able to locate it under the list of hideactions and from there: remove the hideaction, publish and reload the solution in the workbench.

  • Calum MacFarlane Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi Daniel, thanks for the reply.

    No, I am not using the hide functionality.

    Calum

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi,

    don't you have a back of your solution? Ribbonworkbench recommands to one every time you do a Ribbon modification.

    If yes import the old solution and it will overwrite all your changes(ribbon, form, ...). I hope you did create a seperate solution for the ribbon customization :) else it will be really complicated for you.

  • Calum MacFarlane Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi Giullaume,

    No unfortunately I did not back-up prior to this particular modification. I wish I did :) I need to enable the remove button somehow.

    Calum

  • RuanZhao Profile Picture
    5 on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi,

        If you doesn't have a back up of the solution,I guess it is not the productional eviroment.I mean you must have an environment or organiztion for developing or testing.If you do have,export the solution from the other environment or organization and then import it to the organization you want to reset.

       The other way runs with high tech and risk. The ribbon style or rules is organized by XML.You can edit the XML by  coping native sections from another solution XML that may be downloaded from the internet .

  • Calum MacFarlane Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi RuanZhao, thanks for the reply.

    This work is being done in my Sandbox environment, but there is no current counterpart for it in our Production environment. I've had to mess with the XML at the moment, but I am finding some success there... I think I may have solved the problem...

    Calum

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    If this is from a system (OOB) entity, you can make a backup of the ribbon customization (just export the entity without forms, views, etc...), and import it back on top of your existing entity. This will revert everything to the OOB status.

  • Calum MacFarlane Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    So, I have managed to resolve my problem by deleting the buttons under the Buttons tab in the Solution Elements area. This involved right-clicking each customised button, and clicking delete.

    I'll just note that these buttons were out of the box buttons and I originally got them under the Buttons tab by right-clicking on them as they appeared in the ribbons above, and selecting customise. After I published the solution some time later, I no longer had the option to uncustomise them. I was worried here, because the only option I had available to remove them from the Buttons tab was right-click then delete. I tried this, and they disappeared completely from the ribbon. I made a back-up right before doing this, to see if these out of the box buttons would really in fact be removed from the ribbon permanently (I hoped not), but it turns out they were simply restored to their original default state - reloading the solution in the ribbon workbench showed them again.

    In short: if I have "customised" an out of the box button, and click 'delete' to remove it from the Buttons tab, it will not actually delete the out of the box button, it will simply restore them.

    Although I think stumbling into this situation is not a very intuitive characteristic of the ribbon workbench, and my fixing it was even more confusing (to me at least), I will verify Guillaume Domont's answer - because a backup would have saved all this hassle :)

    Calum

  • Calum MacFarlane Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Hi Aric, thanks for the reply!

    Unfortunately this is one of my custom entitites.. that would have been a clever way to fix this for sure.

    Calum

  • Community Member Profile Picture
    on at
    RE: Ribbon Workbench : how to reset standard buttons to their default state?

    Wow. What a terrible nuisance to have to do this. Delete a few buttons and presto you'll be spending hours trying to restore the toolbar plus combining your new changes. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans