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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Reset case ribbon to default

(0) ShareShare
ReportReport
Posted on by

Hi experts, 

I made some changes on the ribbon workbench for the case entity > subgrid by customizing the command for the + button. 

After I customized command with my custom javascript, it was not working so I again changed the command to the default command. Even after reverting the command, the button is behaving strange and even the table button on the subgrid is not behaving properly. 

How can I reset the case ribbon to default settings? Unfortunately, I do not have a backup of the solution.

Thanks,

Jon

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

    I even deleted the solution thinking the changes might go away, but unfortunately it was the same.

    Thanks,

    Jon

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    i would suggest you to create an online trial and compare to the ribbon xml. 

    Or get it from production and import back to DEV or INT if the version is same( i would go for this).

  • Community Member Profile Picture
    on at

    Hi Wei Jie,

    Do you mean the everything inside the <ribbondiffxml> tag?

    Thanks,

    Jon

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi Jon,

    Yes, you can try to compare the xml , but this need lots of effort.

    Else

    if the version of case from prod is same as dev or INT, make a backup first, after that , import back to DEV/INT.  

    Always remember to save a backup first before you doing this.

  • Community Member Profile Picture
    on at

    Hi Wei Jie,

    The second approach seems kind of complicated as I never done this before. I just created a new trial account and I have a client sandbox in which I'm making changes.

    I created a new solution in my trial and added case entity and application ribbons and exported the solution. I did the same for my sandbox.

    When I compare the <ribbondiffxml> this is what the trial has:

    <RibbonDiffXml>

           <CustomActions />

           <Templates>

             <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>

           </Templates>

           <CommandDefinitions />

           <RuleDefinitions>

             <TabDisplayRules />

             <DisplayRules />

             <EnableRules />

           </RuleDefinitions>

           <LocLabels />

         </RibbonDiffXml>

    Can I just replace this and import the solution into my client sandbox?

    Thanks,

    Jon

  • Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi Jon,

    which entity is using as subgrid? is this a custom entity or?

  • Community Member Profile Picture
    on at

    Hi Wei Jie,

    This is for the case entity subgrid.

    Thanks,

    Jon

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi Jon,

    You should get the correct xml like below picture, make sure you click on customize the button first. Remember to select all button , in order to get a full xml.

    Make sure there is no custom button implemented in your client environment, then only you can do that, else i would suggest you to use the prod version to do the comparison instead of trial.

    7183.19.png

  • Community Member Profile Picture
    on at

    Hi Wei Jie,

    I do have a custom button in the client environment. Should i delete the button first?

    Thanks,

    Jon

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Jon ,

    Before doing below step I would suggest please go thorugh the video of Scott Durow , as he mentioned when we are doing customization of any OOB button its basically create another new button making the OOB button hide . So if you delete the customize button from unmanaged solution managed one will still exists.

    www.youtube.com/watch

    I guess you can return OOB system button using following step  -

    1.  Create a test solution and add Case entity.

    2. Open Ribbon workbench -> test solution

    3. Right Click ->Delete + button -> publish (it will remove only the unmanage button, the managed one still exist)

    4. Open Ribbon workbench -> test solution

    5. Locate + button (started with $locallabel..)  and make sure its not hidden .

    6. Publish

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans