locked
CRM 2015: Refresh an IFRAME RRS feed

  • Question

  • Hi,

    I have a CRM 2015 system where in a Phone Call form there is an IFRAME.

    ISSUE:

    When the phone call record is created and saved, the IFRAME is not getting refreshed.

    Basically we would know that by viewing page source of IFRAME and there will be a GUID displayed in the tab.

    But when we refresh the page this GUID is generated in source page of IFRAME.

    So what I am looking for is a way to refresh the IFRAME content once the record is created or onSave.

    Could you let me know a way to solve this issue please?

    Note: I have tried Xrm.Page.data.refresh() which just refreshes the data but not all the contents.

    Many Thanks in Advance,

    Arjun


    • Edited by Arjun871 Wednesday, July 1, 2015 7:54 AM
    Monday, June 29, 2015 5:32 PM

All replies

  • To refresh the IFrame, you can use the following code in the OnSave event:

    Xrm.Page.getControl("iframeName").setSrc(Xrm.Page.getControl("iframeName").getSrc());
    Monday, July 6, 2015 4:53 AM
  • Hi Henri,

    Thanks for your reply. But this did not work either.

    Regards,

    Arjun

    Tuesday, July 7, 2015 1:37 AM