Closed crmprocorp closed 6 years ago
Unable to call a function inside a webresource from OK button. I am using the following var iFrameWindow = Alert.getIFrameWindow(); iFrameWindow.document.UploadExcel();
Where UploadExcel is my webresource js function.
Bhaskar
Hi Bhaskar,
The function will be against the iFrameWindow, rather than the iFrameWindow.document.
Try just: iFrameWindow.UploadExcel();
iFrameWindow.UploadExcel();
Hope that helps, Paul
Unable to call a function inside a webresource from OK button. I am using the following var iFrameWindow = Alert.getIFrameWindow(); iFrameWindow.document.UploadExcel();
Where UploadExcel is my webresource js function.
Bhaskar