Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

Posted on by 81

Dear Experts,

While doing migration from 2011 to 2016/365 i got into these weird issue.

There were some old custom buttons deployed on case entity now i have deleted the old buttons and there is no custom button on case entity , but whenever i am clicking on expand button (three dots) the ribbon is firing refresh event in infinite loop and as you can see in below GIF i am not able to select process , because till the time i select any process its getting refresh again.

Thanks in advance.

RibbonRefresh.gif

Regards

Ahmed

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Hi Ahmed!

    your problem will solved if do below:

    settings -> administration -> system settings -> general -> use legacy form rendering -> set NO

    and hard refresh your browser!

    hope help you!

  • AyazAhmed Profile Picture
    AyazAhmed 81 on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Dear Goutam,

    I tried by adding the new button , the ribbondiffxml got updated but still the issue is there.

    I have done some changes now, instead of custom code now i am calling OOB functionality on button Resolve to resolve the case, earlier we have written some code to resolve the case.

    below is the result , i can see two resolve button but in ribbonworkbench there is only on resolve button.

    4861.Untitled.jpg

    This is something really strange situation for me.

    Apart from this i also tried importing case entity in managed solution from vanilla environment but even that didn’t help.

    Regards

    Ayaz

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Hi Ahmed ,

    I am not sure seems the changes is not impacting anything in your solution.Could u please add one new button at the last and check whether that button is visible or not and click three dot see whether custom button is showing or not.

    I am asking you as because sometimes ribbon  XML is not overwrite  any changes on op of managed entities .

    Let me know.

  • AyazAhmed Profile Picture
    AyazAhmed 81 on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    [Update]

    I have deleted all the javascript on the entity which means there is no script which is running on onload or on save still facing the issue.

  • AyazAhmed Profile Picture
    AyazAhmed 81 on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Hi Goutam,

    I have removed all the custom buttons also their refrences with the help of workbench.

    Please see the below image.

    1362.Ribbon.JPG

    i have already checked for refreshRibbon function but there is no any such code found in any javascript.

    Regards

    Ahmed

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Hi,

    Please try to find js function that is having Xrm.Page.ui.refreshRibbon(). This is only the method that can cause to automatically refresh.

    Thank You

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Hi Ahmed,

    Its OOB but for one time but not infinite ,however i would suggest try to check in your code whether you have written any custom code for hiding or any others , or any settimeinterval or refresh you are using for ribbon.

    I am sure you have some code exists in backend.

    How do you removed the old button ?did you removed all js reference while delete old button?

    Try to check ribbon workbench expand button check you can still see old button or not.

    Make sure button  sequence are correct.

    Hope this helps.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: MS CRM 365 case Ribbon is getting refresh automatically without any custom code.

    Hi,

    Please search through the JS, is there any JS is doing refresh function?

    msdn.microsoft.com/.../gg327828.aspx

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans