locked
windows.parent, is it a supported method - nobody seems to know? RRS feed

  • Question

  • Hi all, I have a web resource that uses window.parent object to set a field value:

    window.parent.Xrm.Page.getAttribute("new_name").setValue(name);

    But I cannot find anywhere if it is supported? I have seen people use it in their solutions from 2011, and it works in 2013. I just need to know what I am setting myself up for if I use the above.

    Thank you.

    Wednesday, April 16, 2014 12:11 PM

All replies

  • Officially, I don't think it is as it's accessing the DOM which you're not supposed to do. But the impact of this is fairly low.
    Wednesday, April 16, 2014 3:05 PM