Skip to main content
Nintex Community Menu Bar
Question

calling apexfunction

  • July 10, 2024
  • 4 replies
  • 33 views

Forum|alt.badge.img+2

i am trying to call apexfunction the example in skuid Opportunity javascript button i pasted the code in snippet and https://community.skuid.com/t/calling-apex-function and when i click on that button its doing nothing what wrong did i do plzz tell me

4 replies

Forum|alt.badge.img+2
  • Author
  • July 10, 2024

hello experts plz help for beginners its sound strange but some help from u guys


Forum|alt.badge.img+11

What do you see if you open the Chrome Developer Tools Console?

https://developers.google.com/web/tools/chrome-devtools/



Forum|alt.badge.img+2
  • Author
  • July 10, 2024

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


Forum|alt.badge.img+2
  • Author
  • July 10, 2024

should i write in function

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