Discussion:
window.parent.Frames['MyFrame'].document returns error in CRM
(too old to reply)
bharath_r
2010-04-24 10:27:40 UTC
Permalink
Hi All,

I need a little help here. I have an application which needs to be
integrated with Microsoft Dynamics CRM. I have a page in which i have
two frames. The frame on the LHS(MyFrame) of the screen contains my
application page and the RHS is the CRM page. I have added a button in
the CRM page onclick of which i call a function. In this function i
try to access a resource in MyFrame. When i do an alert on
window.parent.Frames['MyFrame'], it returns an object. But when i try
window.parent.Frames['MyFrame'].document there is an error.
How can i access an element in my application page in the CRM page?

Thanks,
Bharath
bharath_r
2010-04-27 10:01:19 UTC
Permalink
Hi All,

I get 'Access Denied' error while trying to access
window.parent.Frames['MyFrame'].document.
While searching through the forums i found that you can add IFRAMES in
CRM and set the cross-frame scripting to false.
Can cross-frame scripting be enabled in CRM in general.
Any help is highly appreciated.

Thanks,
Bharath

Loading...