Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplication of Navigation Bar

(0) ShareShare
ReportReport
Posted on by 23,577

Hi Guys,

I have a Javascript on my opportunity for stage change, that works perfectly fine except for the fact that evrytime the form refreshes; navigation bar is duplicated,triplicated and quadrupled.

My javascript refreshes the form after every stage change, so, that it is reflected on the form immediately.

Below is a screenshot and code for refresh:

Xrm.Page.getAttribute("stageid").setValue('86b57c22-0b99-a769-55e2-128c5b09d4e3');
setTimeout(function () {
var Id = Xrm.Page.data.entity.getId();
Xrm.Utility.openEntityForm("opportunity", Id);
}, 2000);
}

70811.1.PNG

*This post is locked for comments

  • Suggested answer
    razdynamics Profile Picture
    razdynamics 17,304 User Group Leader on at
    RE: Duplication of Navigation Bar

    Hi Prashant, Can you please try to replace

    Xrm.Utility.openEntityForm("opportunity", Id); with

    window.location.reload(true);

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans