Skip to main content
Nintex Community Menu Bar
Question

Webservice method not able to call

  • July 11, 2024
  • 1 reply
  • 5 views

Forum|alt.badge.img+2

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.

1 reply

Forum|alt.badge.img+17
  • Nintex Employee
  • July 12, 2024

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