简体   繁体   English

在与机会相关的实体上导航时,CRM Outlook Client引发错误

[英]CRM Outlook Client throws error when navigating on Opportunity Related Entities

If a navigate on Outlook for CRM2011 Client, offline or online, two different error message appears randomly after closing the opportunity form, after I clicked in the Related section. 如果在Outlook for CRM2011客户端上进行脱机或联机导航,则在我单击“相关”部分后,在关闭机会表格后会随机出现两个不同的错误消息。

It does not matter on which related item I click, it happens on every single one. 单击哪个相关项目都无关紧要,它发生在每一个项目上。

First Error: 第一个错误:

   <Message>Object doesn't support this action</Message>
   <Line>1</Line>
   <URL>/_static/_common/scripts/PageLoader.js?ver=24974061</URL>
   <PageURL>/main.aspx?etc=3&extraqs=%3fetc%3d3%26id%3d%257bED62CF68-7336-E311-B2FB-00155DCE57C4%257d%26pagemode%3diframe%26preloadcache%3d1382347798987&pagetype=entityrecord</PageURL>
   <Function>executeAction(action)</Function>
   <CallStack>
    <Function>executeAction(action)</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MSNIE9A; Microsoft Outlook 14.0.6126)</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>de-DE</SystemLanguage>
   <UserLanguage>de-DE</UserLanguage>
   <ScreenResolution>1920x1200</ScreenResolution>
   <ClientName>Outlook Laptop - Online</ClientName>

Second Error: 第二个错误:

ScriptErrorDetails>
   <Message>Object doesn't support this action</Message>
   <Line>1</Line>
   <URL>/_static/_controls/ribbon/ribbon.js?ver=24974061</URL>
   <PageURL>/main.aspx?etc=3&extraqs=%3fetc%3d3%26id%3d%257bED62CF68-7336-E311-B2FB-00155DCE57C4%257d%26pagemode%3diframe%26preloadcache%3d1382347474700&pagetype=entityrecord</PageURL>
   <Function>anonymous(){try{$$t_4.$8D_3($p0,$p1)}catch($v_1){if($v_1.number!==-2146823277)throw$v_1}}</Function>
   <CallStack>
    <Function>anonymous(){try{$$t_4.$8D_3($p0,$p1)}catch($v_1){if($v_1.number!==-2146823277)throw$v_1}}</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MSNIE9A; Microsoft Outlook 14.0.6126)</BrowserUserAgent>
   <BrowserLanguage>en-US</BrowserLanguage>
   <SystemLanguage>de-DE</SystemLanguage>
   <UserLanguage>de-DE</UserLanguage>
   <ScreenResolution>1920x1200</ScreenResolution>
   <ClientName>Outlook Laptop - Online</ClientName>

I have tried to disable all custom JS code on the opportunity form, but the error still appears. 我试图禁用机会表单上的所有自定义JS代码,但错误仍然出现。

Are there any suggestions? 有什么建议吗?

I fixed it. 我修好了它。

In our structure we got JS contract and Controller for each entity. 在我们的结构中,我们为每个实体获得了JS合同和控制器。 After this Design we used Enable Rules on the contrat which calls the real enable rule in the Controller. 设计完成后,我们在计算机上使用了启用规则,在控制器中调用了真正的启用规则。

For some reasons the Controller might not been loaded at the Moment when the enable rule is fired. 由于某些原因,启用规则触发时,控制器可能无法立即加载。 So we got the strange ribbon.js error. 因此,我们收到了奇怪的ribbon.js错误。

After moving the enable rule in the contract everything works fine. 在合同中移动启用规则后,一切正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM