Spark update - web services using AJAX broken

  • 1
  • Problem
  • Updated 10 months ago
  • Solved
After upgrading to Spark calls to web services using sforce.apex.execute no longer work


Photo of Mark

Mark

  • 572 Points 500 badge 2x thumb

Posted 10 months ago

  • 1
Photo of Mark

Mark

  • 572 Points 500 badge 2x thumb
Fixed by adding reference to connection.js as well as ajax.js

e.g.:

/soap/ajax/34.0/apex.js

AND

/soap/ajax/34.0/connection.js

Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 4,030 Points 4k badge 2x thumb
Hi Mark, thanks for sharing your solution!