Reload the window on native view which displays an UI page within iframe

Nishant_Kumar
Tera Guru

Hi SN Guys,

I am struggling to reload the window on native view. Please find below my configuration.

 

1. I have UI Action on table "A" in which  I am using GlideModal to render an "iframe"  (iframe is in separate UI Page) then from iframe I am trying to open another UI page (basically its copy of OOTB knowledge page) in which I am doing my manipulation. 

2. After doing some manipulation I running a BR to Update the relation between "Table A" and "Knowlege Article table" so that I am able to show the related lists. Till here it's fine.

3. Here in 3rd step I want to reload the window in which I have displayed my glidemodal/Ui Page

i had tried "

window.top.location.reload();

"

but it did not work. This i had used in client script part of UI page which is displayed within iframe. 

 

Please let me know if anyone has implemented this or have idea how to do. I Just need to reload the window. So that user experience is good.

 

 

1 ACCEPTED SOLUTION

Nishant_Kumar
Tera Guru

i found the solution to my configuration. I was using script include to update a field on UI page client script and even there was BR In configuration to keep the things in sync. To Reload i have used client script with "location.reload()" on change of the specific field, hence it works.

 

 

Thanks!

View solution in original post

1 REPLY 1

Nishant_Kumar
Tera Guru

i found the solution to my configuration. I was using script include to update a field on UI page client script and even there was BR In configuration to keep the things in sync. To Reload i have used client script with "location.reload()" on change of the specific field, hence it works.

 

 

Thanks!