CRM 2013: Java script - trigger the reload of one embedded HTML from another embedded HTML RRS feed

  • Question

  • I have 2 embedded html in my entity form.

    Let say the 2 files are emb1 and emb2. In emb1 I have a button "submit". I want to reload\refresh emb2 on the "onCLick" event of "Submit".  Nothing else on the entity form should be reloaded\refreshed.

    Could you kindly tell me the simplest java script to achieve this.

    Hasibur Rahman

    Monday, April 20, 2015 8:08 PM


  • Something like this should work:

     function emb1_submit() {
    	var emb2 = window.parent.Xrm.Page.getControl("WebResource_Emb2").getObject();

    If this post was helpful, please mark as answered.

    Tuesday, April 21, 2015 2:34 PM