Webservice method not able to call

We are using iframe where the page which is loading we are trying to execute a webservice.
(function(skuid){
var $ = skuid.$;
$(document.body).one('pageload',function(){
var pageHeight = $(document).height();
var iFrameIdSkuid = Id;
var result = sforce.apex.execute('genesis.IFrameHeightStorageCtrl','storeIFrameHeight',
{
iFrameId: iFrameIdSkuid,
pageHeight: pageHeight
});
});
})(skuid);
But it's giving error like "execute method is undefined".

Any idea what could be the solution for this.

Answers

  • Rob HatchRob Hatch 💎💎💎

    Pretty sure Skuid has know knowledge of sforce.apex.execute. You probably need to make a specific call to that API library.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!