CRM 2013 IFrame Refresh issue RRS feed

  • Question

  • I am using CRM 2013. I have added Iframe on FORM. I am showing custom ASPX page in Iframe. Whenever I create a new record ans save. the Iframe doesn't refresh. When we save the form refreshes but Iframe doesn't. I have added the below code to refresh the iframe on save of the record.. but it is not working.. I have tried the same on Load of the form for Update formtype. it is not working.

    I have tried to add Random Parameters to existing url but didn't work.

    var IFrame = Xrm.Page.ui.controls.get("IFRAME_test");
    var Url = IFrame.getSrc();

    Please help!

    Monday, August 25, 2014 7:12 AM

All replies

  • try:-

    function Frame_change()

    var spurl=Xrm.Page.getAttribute("new_sharepointurl").getValue();
    var IFrame = Xrm.Page.ui.controls.get("IFRAME_test");   

    function Form_onLoad()
    setInterval("Frame_change()", 200000);

    Regards Faisal

    Tuesday, August 26, 2014 10:13 AM
  • Hi Faisal,

    I have already tried the above code but it didn't work.


    Wednesday, August 27, 2014 8:28 AM