I have a web resource that I am calling inside of a dialog.
It seems that in a recent update of CRM Dynamics, they are now overwriting the window.frames object, which I used to get a list of all iframes before.
Here is a view of the frames object in the console..
Does anyone know how do I get access to the available iframes on the page?
Previous code that used to work...
var found = false;
$.each(parent.window.frames, function (i, val) {
if (!found) {
if (parent.window.frames[i].Xrm.Page.data != null) {
console.log("got here, page data not null");
found = true;
}
}
});
Version of Dynamics: 7.0.2.53
