Spark update - web services using AJAX broken

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


Photo of Mark

Mark

  • 490 Points 250 badge 2x thumb

Posted 4 months ago

  • 1
Photo of Mark

Mark

  • 490 Points 250 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

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