Hi
I get the error message below when I try to save an opportunity. First I thought that it has something to do with my custom onload script but I removed the script from the event handler and I still get the error.
What can I do to debug or resolve this issue?
Thank you for your support
----
One of the scripts for this record has caused an error. For more details, download the log file.
o is null
Session Id: ce918d9a-9edd-4df0-9a6c-beb83e1046c4
Correlation Id: 44728843-f91a-42a3-b82d-ea51a130f99d
Event Name: onload
Function Name: ShowContactCardOnFormWeb
Resource Name: SalesPro/Common/msdynce_Common.js
Solution Name: msdyn_SalesPro
Publisher Name: microsoftdynamics
Time: Wed Aug 04 2021 14:18:00 GMT+0200 (Central European Summer Time)
---
ShowContactCardOnForm@https://<url>.crm4.dynamics.com/%7b637636743130000142%7d/webresources/SalesPro/Common/msdynce_Common.js:1:13095
_executeFunctionInternal@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:4612
execute@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:3824
_executeIndividualEvent/<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:24008
i@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:286:88
_executeIndividualEvent@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:23982
_executeEventHandler@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:21124
execute@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:133:18605
_executeSyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:692
_executeSync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:419
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:201
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5027
execute@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:22455
_executeSyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:692
_executeSync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:419
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:201
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5027
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1235
k/</</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19211
promise callback*k/</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19201
promise callback*k/</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:18761
promise callback*k/<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:18731
k@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19325
he@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:19655
le/e</</</</s<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:14392
promise callback*le/e</</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:14334
le/e</</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:15633
le/e</<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:15672
promise callback*le/e<@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:11534
le@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:15699
execute@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:417:24299
_executeAsyncAction/i<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1367
_executeAsyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1068
_executeAsync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:912
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:177
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5027
nt@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:169:30149
save@https://<url>.crm4.dynamics.com/uclient/scripts/9.js?v=1.4.2951-2107.1:169:26805
SaveLibrary/this.saveForm@https://<url>.crm4.dynamics.com/%7b637636743130000142%7d/webresources/Main_system_library.js:1:305696
_executeFunctionInternal@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:4612
execute@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1943:3824
execute/</p</<@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:4130
i@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:286:88
execute/</p<@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:4120
execute/<@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:3105
promise callback*execute@https://<url>.crm4.dynamics.com/uclient/scripts/8.js?v=1.4.2951-2107.1:36:3079
_executeAsyncAction/i<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1367
_executeAsyncAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:1068
_executeAsync@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:912
executeAction@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:177
x/</</</t.dispatch@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:875:5538
boot/a</e</</r.dispatch</<@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:1518:1859
K/<@https://<url>.crm4.dynamics.com/uclient/scripts/3.js?v=1.4.2951-2107.1:47:19850
g@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:3826:1062
S@https://<url>.crm4.dynamics.com/uclient/scripts/app.js?v=1.4.2951-2107.1:3826:1205
Error Details:
Event Name: onload
Function Name: ShowContactCardOnForm
Web Resource Name: SalesPro/Common/msdynce_Common.js
Solution Name: msdyn_SalesPro
Publisher Name: microsoftdynamics
Hi,
Have you checked whether the bound js is correct? It may be that the wrong js is bound and the method cannot be found.
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Frank Gong
Hi,
After you remove the onload event in the event handler, do you save and publish it again?
If the event is successfully removed, this error should no longer occur.
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Frank Gong
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156