How to Refresh the Parent Page from Child Page in crm using javascript RRS feed

  • Question

  • Hi All,

    I want to Refresh the Parent Page from the child Page in CRM 2011 using javascript.

    By google i got some code as: 


    It is working fine on IE10. But majority of our customers are using IE11. The code is not working on IE11 and all the other browsers.

    When i use other browsers it is giving error as:

    Microsoft Dynamics CRM Error Report Contents

       <Message>Uncaught SyntaxError: Unexpected end of input</Message>
       <BrowserUserAgent>Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36</BrowserUserAgent>

    Please help me regarding this issue.

    Friday, March 7, 2014 6:45 AM

All replies

  • HI Ashok,

    have you tried adding the url into the IE 11 compatibility view list ?

    Damian Sinay

    Friday, March 7, 2014 9:22 AM
  • You want to refresh your parent page in iframe? If yes, I think below statements may help you:

    if your CRM version is 2011


    if your CRM version is 2013

    contentIFrame0.Xrm.Page.data.refresh() or contentIFrame1.Xrm.Page.data.refresh(), yes, there are two options in 2013, it's very confuse me. but i still did not find the reason.

    • Proposed as answer by Chen Xiong Friday, March 7, 2014 10:00 AM
    Friday, March 7, 2014 9:59 AM