locked
How do you set the URL for an iFrame in MS CRM 2013. RRS feed

  • Question

  • Today I have run into an issue when setting the URL for an iFrame in CRM 2013 OnPrem. Up until 2 days ago the below code was working perfectly and I have searched the web for other blogs about this, but cannot figure out what changed.

    We are on the latest RU for CRM 2013, I am using IE10 and have stepped through the code with the developers tool but nothing to presenting an error.  The iFrame never loads with the SRS report.

    This is only part of the code but like I said, the URL that I have created for OverviewURL is fine and resolves when I copy and paste it into the address bar. And the variable eaIframe returns with a positive value.

    //Update the IFrame var eaIframe = Xrm.Page.ui.controls.get("IFRAME_eautomateoverview");

    if (eaIframe != null && eaIframe != undefined) { eaIframe.setSrc(OverviewURL); eaIframe.getParent().setVisible(true); } else { setInterval('OverviewAccount()', 1000);

    }


               


    Dylan Reynolds CRM Developer & Customizer/ Proj. Manager

    Friday, March 7, 2014 2:20 AM