calling apexfunction

  • 1
  • Problem
  • Updated 3 years ago
i am trying to call apexfunction the example in skuid Opportunity javascript button i pasted the code in snippet and https://community.skuidify.com/skuid/topics/calling_apex_function and when i click on that button its doing nothing what wrong did i do plzz tell me
Photo of ravi teja

ravi teja

  • 238 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of ravi teja

ravi teja

  • 238 Points 100 badge 2x thumb
hello experts plz help for beginners its sound strange but some help from u guys
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
What do you see if you open the Chrome Developer Tools Console?

https://developers.google.com/web/tools/chrome-devtools/
Photo of ravi teja

ravi teja

  • 238 Points 100 badge 2x thumb
Error: https://skuid.ap2.visual.force.com/jslibrary/1444699760000/sfdc/VFRemote.js is being assigned a //# sourceMappingURL, but already has one
Error: https://skuid.ap2.visual.force.com/jslibrary/1442862172000/ui-sfdc-javascript/SfdcCore.js is being assigned a //# sourceMappingURL, but already has one
Error: https://skuid.ap2.visual.force.com/jslibrary/1445535098000/sfdc/main.js is being assigned a //# sourceMappingURL, but already has one
Error: https://skuid.ap2.visual.force.com/jslibrary/1444699760000/sfdc/Security.js is being assigned a //# sourceMappingURL, but already has one
Error: https://skuid.ap2.visual.force.com/jslibrary/1444699760000/sfdc/MarketingSurveyResponse.js is being assigned a //# sourceMappingURL, but already has one
Error: https://login.salesforce.com/jslibrary/SessionServer190.js is being assigned a //# sourceMappingURL, but already has one
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. skuid__ui

when i press on that button it shows this error
TypeError: skuid.model.getmodel is not a function
Photo of ravi teja

ravi teja

  • 238 Points 100 badge 2x thumb
should i write in function

funclion click(){
all code here
}
and paste that in snippet