
The following syntax is work for both cases, where the IFrame is provided & loaded from the same domain, and where the IFrame is not from the same domain. The only thing I can think right now if to add an UpdatePanel an.

How are we going to make this possible We are going to be finding it in the article. Hi, I have an IFrame on my page but I want to refresh only the IFRAME portion of the page. Or use the following code: var parent = window.parent var iframe = ('RHIFRAME1') //RHIFRAME1 is the capitalization of the name of the iframe that needs to be refreshed in the dashboard (true) ġ) Create a new normal report B.cpt, and insert the formula in cell A1: ROUND5(RAND() * 50,0), as shown in the figure below:ġ) Open the parent template m, select iframe rHIframe0, set the template path and parameters, select A.cpt as the template path, add a parameter named op, and set the parameter value to a string: write:Ģ) Select iframe rHIframe1, and set the template path as B.cpt:ģ) Save the parent template m. Once the user presses the button, he/she needs the IFrame to be reloaded/refreshed.
#Refreshing iframe code
The JS code is as follows: window.parent._g().getWidgetByName('rHIframe1').reload() //rHIframe1 is the name of the iframe that needs to be refreshed in the parent template Select cell A1, in the property panel on the right, select the button widget, and set the button name to: refresh parent iframe B, as shown in the following figure: So in the Iframe i can select a document and perform all actions -> Verision history.

This Iframe points to my Document Library. Create a dashboard, and drag in two iframes, as shown in the following figure:ġ) Create a normal report A.cpt. Hi, I have a tab Documents that has an Iframe.
