Hi,
I need to migrate this old version of code to dynamics 365. The function saves the IFrames in OnSave functionality.As window.parent is not supported in dynamics crm 365 what are the other possible ways to adopt this code?. Here I assume that mainWnd.frames.length returns the number of IFrames present)
var mainWnd = window.parent;
for (var iCnt = 0; iCnt < mainWnd.frames.length; iCnt++) {
if (mainWnd.frames[iCnt].save) {
mainWnd.frames[iCnt].save();
}
}
Thanks in advance..
*This post is locked for comments