3
对于Microsoft Dynamics CRM Online 2016 Update(8.0.1.360)
我创建了一个新的仪表板并使用了包含网格的html网络资源。有一个链接会重定向到每个记录的详细信息页面。当我在浏览器中检查它时,它工作正常。但是,从仪表板,我不能重定向到详细页面,下面是出现在控制台中的错误:无法重定向到Dynamics CRM仪表板中的新网页
global.ashx?ver=-942172701:5 Uncaught Error: Sys.InvalidOperationException: Service Xrm.Interfaces.Services.IMostRecentlyViewedService already has an implementation
at Function.Error.create (global.ashx?ver=-942172701:5)
at Function.Error.invalidOperation (global.ashx?ver=-942172701:5)
at Xrm.XrmServiceDirectory.register (global.ashx?ver=-942172701:26786)
at Xrm.ScopedServiceDirectory.register (global.ashx?ver=-942172701:25708)
at Xrm.ScopedServiceDirectory.register (global.ashx?ver=-942172701:25708)
at Xrm.ScopedServiceDirectory.register (global.ashx?ver=-942172701:25708)
at Mscrm.RecentlyViewed.initialize (main.js?ver=-942172701:1)
at Mscrm.RecentlyViewed.endUpdate (global.ashx?ver=-942172701:5)
at Sys._Application.endCreateComponents (global.ashx?ver=-942172701:5)
at Sys._Application._raiseInit (global.ashx?ver=-942172701:5) .
请帮助。 在此先感谢。
以下是重定向功能:
function openEntityRecord(guid) {
var randomnumber = 100000000 + Math.floor(Math.random() * 900000000);
var url = CRMURL + "/main.aspx?etn=people&extraqs=&histKey=" + randomnumber + "&id={" + guid + "}&newWindow=true&pagetype=entityrecord";
alert(url);
window.location.href = url;
//window.open(url, "", "status=0,resizable=1,width=1000px,height=600px");
}