Calling apex function

Hey Gautam,

I believe you are trying to preview the Skuid page alone and trying to use your class to work as extension.

Did you add this class as an extension to your VF page as Zach explained in above initial posts ?

<apex:page docType=“html-5.0” readOnly=“true” standardController=“Account” extensions=“TestAccountEntrySkuid”>

<skuid:page page=“MySkuidPage”/>


Try to preview this VF page once created, that should resolve the issue.

Are there any tutorials for building a REST model to access a webservice in apex?

We have been successfully using option 1 mentioned by Zach at the top of this post i.e the AJAX toolkit’s sforce.apex.execute method. But we are receiving errors when we try to expose the same skuid page in the salesforce community. I see an error in the console that indicates it may be an error related to the External resource /soap/ajax/29.0/apex.js that is added to the skuid page. Here is the console error:
apex.js:48 Uncaught TypeError: Cannot read property ‘push’ of undefined
at sforce.Apex.execute (
at Object.callback (eval at (, :150:64)
at Object.K.aa.when.all.then.c (
at Object. (
at j (
at Object.fireWith [as resolveWith] (
at Object.e.(anonymous function) [as resolve] (
at Object. (
at Object. (
sforce.Apex.execute @ apex.js:48

Any ideas?

Just to let everyone know calling apex from skuid in a salesforce community using sforce.apex.execute is not an issue. The above issue was caused by an undefined variable being passed to the apex class. The error message returned was very ambiguous. Hopefully this will save somebody a lot of frustration.

Is there documentation on using classes exposed with REST with Skuid? I must not be setting authorization correctly.

still haven’t been able to get REST to work

Hi Zach, I want to pass list of Ids from skuid to salesforce webservices static method.
Is this possible, if yes please give me suggession.

I want to convert array to list and need to send that list of ids as a parameters.