Skip to main content

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.

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


Reply