gpt4 book ai didi

javascript - CRM 2016 表单上的随机脚本错误

转载 作者:行者123 更新时间:2023-12-03 05:18:21 24 4
gpt4 key购买 nike

自从我们从 CRM 2011 升级到 CRM 2016 以来,开始出现一些随机脚本错误消息,主要是在表单加载上。我尝试正确包含表单属性上的所有依赖脚本,但仍然没有成功。我读过很好的文章CRM 2013 Script Loading Deep Dive由斯科特·杜罗分享。实现解决方法后,它显示脚本错误。我不想切换到旧版表单渲染。请建议我可以实现的东西。日志中的一些脚本错误是:

**TypeError: Cannot read property 'ParentProduct' of undefined
at eval (eval at RunHandlerInternal (192.168.220.55/.../ClientApiWrapper.aspx), <anonymous>:1:13)**

at RunHandlerInternal (192.168.220.55/.../ClientApiWrapper.aspx)
at RunHandlers (192.168.220.55/.../ClientApiWrapper.aspx)
at OnScriptTagLoaded (192.168.220.55/.../ClientApiWrapper.aspx)
at http://192.168.220.55/Dev/form/ClientApiWrapper.aspx?ver=191855143:201:1

**TypeError: Unable to get property 'executeOnLoad' of undefined or null reference
at eval code (eval code:1:1)**

at RunHandlerInternal (192.168.220.55/.../ClientApiWrapper.aspx)
at RunHandlers (192.168.220.55/.../ClientApiWrapper.aspx)
at OnScriptTagLoaded (192.168.220.55/.../ClientApiWrapper.aspx)
at Anonymous function (192.168.220.55/.../ClientApiWrapper.aspx)

执行onLoad的脚本是:

   Sonoma.namespace("Utilities").namespace("ParentProduct").extend((function () {
function func1() {
}
function func2() {
}
)());

最佳答案

您是否联系过索诺玛以报告与其代码相关的错误?对于这个命名空间,我必须假设他们是作者。 http://www.sonomapartners.com/

关于javascript - CRM 2016 表单上的随机脚本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41509893/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com