Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Duplication of Navigation Bar

$
0
0

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);
}


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>