cancel
Showing results for 
Search instead for 
Did you mean: 

Main View refresh after external window is opened

Former Member
0 Kudos

Hi All

I have screen which contains lot of links. when user clicks on any links respective external window(not PopUp) which is in different component will open. Now my problem is after opening external window, I am not able to see any external windows opened when I clicked on any other links on main view.(action is not working).

When I refresh the main view I was able to click links again.

I tried this code in wdDoModifyView()


if(!firstTime)
{		
     view.resetView();
}

But there is no use. Can any one suggest me how to do it.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I tried to resolve above problem using destroying window. Can any one help in destroying an external window?

raja_thangamani
Active Contributor
0 Kudos

Is external window coming from another componenet?

Look at this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">Destroy component</a>

Raja T

Message was edited by:

Armin Reichert

Former Member
0 Kudos

Hi,

Use following code to destroy the window,

IWDWindow window =

wdContext.currentWindowElement().getWindowInstance();

window.destroyInstance();