Announcements
Hello,
I am unable to solve this error it is coming on change of sales process field. Function is called on Save.
if (executionContext != null) {
executionContext.getEventArgs().preventDefault();
}
How to solve this in UCI, or is there any alternative to resolve this.
*This post is locked for comments
Hello,
Could you please provide more details about your scenario?
1 - In which entity are you using the preventDefault()?
2 - What is the schema name of sales process field?
3 - Can you share the sample code that you are using? Please do not share any PII information.
The error message indicates that we are getting an undefined value and we cannot use preventDefault on that.
Using developer tools (F12) you can debug the code creating some breakpoints. This will help you to understand what is as undefined.
Thank you in advance.
André Arnaud de Cal...
294,079
Super User 2025 Season 1
Martin Dráb
232,860
Most Valuable Professional
nmaenpaa
101,158
Moderator