-
590 Points
Posted 2 years ago
Bill McCullough, Champion
-
13,602 Points
Matrix,
There is a community post on how call Apex from JavaScript here: https://community.skuid.com/skuid/topics/calling_apex_function
You should also consider making your Apex class 'invocable', because this approach will make your class 'callable' from any Skuid action. You'd then be able to use your Apex class on any Skuid page without adding any JavaScript.
Thanks,
Bill
There is a community post on how call Apex from JavaScript here: https://community.skuid.com/skuid/topics/calling_apex_function
You should also consider making your Apex class 'invocable', because this approach will make your class 'callable' from any Skuid action. You'd then be able to use your Apex class on any Skuid page without adding any JavaScript.
Thanks,
Bill
Amy Dewaal, Official Rep
-
8,320 Points
(Edited)
-
3,046 Points
Hi Amy, That link actually doesn't show anything on APEX. Ironically even though I have invocable classes neither the option to even select option in Action Framework doesn't show-up
Amy Dewaal, Official Rep
-
8,320 Points
Oops, let me fix that. That's a side effect of us moving our documentation site. Some of the links still redirect fine but others didn't quite make it. I've fixed the link above so that it goes to the correct documentation, just look for the section about Apex. It's admittedly a short blurb, but it also links to some Salesforce documentation about invocable methods.
To help troubleshoot your issue I have some questions for you:
What version of Skuid are you on?
Can you give some more details about "the option to select doesn't show up", and maybe a screenshot? Can you not run the Apex datasource action or can you not select any Apex actions to run?
Thanks!
To help troubleshoot your issue I have some questions for you:
What version of Skuid are you on?
Can you give some more details about "the option to select doesn't show up", and maybe a screenshot? Can you not run the Apex datasource action or can you not select any Apex actions to run?
Thanks!
Amy Dewaal, Official Rep
-
8,320 Points
Looks like I spoke too soon; Bill helped you to find the run Apex action. Glad you got it sorted out, nevermind about my questions!
Related Categories
-
Skuid on Salesforce
- 2699 Conversations
- 220 Followers