cancel
Showing results for 
Search instead for 
Did you mean: 

how to create an external window

Former Member
0 Kudos

Hi,

I created 3 views. all binded together with plugs. One view is an help view. I want this to be opened in a new external window. What code do I need to use? or what should i do

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi,

Create window, insert your view to window and use code like this:


IWDWindowInfo win=wdComponentAPI.getComponentInfo().findInWindows("SearchHelpPos_View");//<-window name
IWDWindow wind=wdComponentAPI.getWindowManager().createWindow(win,true);

Best regards, Maksim Rashchynski.

Answers (1)

Answers (1)

Former Member
0 Kudos

I get a null pointer. code i am using is:

IWDWindowInfo win=wdComponentAPI.getComponentInfo().findInWindows("SearchHelpPos_View");//<-window name

wdThis.wdFirePlugToSeachhelpPos();

IWDWindow wind=wdComponentAPI.getWindowManager().createWindow(win,true);

former_member182372
Active Contributor
0 Kudos

Do you really have "SearchHelpPos_View" WINDOW? Don`t fire plug(wdThis.wdFirePlugToSeachhelpPos();), you don`t need it.

Former Member
0 Kudos

Hi,

Follow this link you have the tutorial for creating

popup windows and also dialog boxes

https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f1cfe990-0201-0010-22ac-dbe4cbdef504

Hope it helps.

Cheers,

Santhosh