TypeError: Cannot read property 'execute' of undefined

  • 1
  • Problem
  • Updated 10 months ago
  • In Progress
I am getting this error while trying to call a apex class on button click on skuid by running javascript snippet when using same button 2nd time, I observed I will go to another tab and then again press the button, it will work fine.

To make the button working I have to move to another tab .
Photo of Kamal Singh

Kamal Singh

  • 90 Points 75 badge 2x thumb

Posted 10 months ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
It sounds like the error is likely found in your custom apex or your custom javascript. Without more information, I don't know how to be more helpful. Is there any more detail you can provide?