Hi,
I am getting below error after upgrade CRM 2015 to CRM 2016 when run java script functions. Upgrade completed without any error. Kindly help me to solve this issue.
Please find the screen-shots for your reference. Let me know if you need any more clarification on this issue.
*This post is locked for comments
My suggestion is to remove all the code, then just create empty function called Form_onload. If this one working fine, it is likely because of wrong code on your file. Something like not close properly.
This issue occurrence some time in the form if the form is not published properly or some issue or upgrade time.
If you think your java script working earlier and suddenly this issue occurred in your form , remove your code from the OnLoad method from your javascript publish the code. Run your form see if the error go out. Again add your form load code into your script and publish. I did this for me the issue didn't appear after adding load code.
On another scenario you will see this error if any unsupported javascript code in your script file.
Can you check if you are passing any parameter without single quote.
I got somewhat same error and resolved using passing the parameter to the method in a single quotes.
Hi,
The solution is delete the main library from form properties and add again.
Regards,
Noushad
looks more of formatting issue... if function is defined then it will be available.
Can you try pasting the script in JS editor and check if it is fine?
Noushad,
If nobody answered what's the point in opening of new thread? Isn't it more logical to update previously opened thread with new details or just some dummy reply to move it up?
If nobody knows the answer here I would suggest to get in touch with Microsoft Support and open support ticket.
Good luck.
Hi Andrii,
I did not get any response this issue. Since it is critical kindly help me to solve this. No java functionalities working after upgrade CRM 2015 to CRM 2016. What could be the reason.
Regards,
Noushad
Hello,
You posted pretty similar question here - community.dynamics.com/.../231523 Has anything changed since then?
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156