cancel
Showing results for 
Search instead for 
Did you mean: 

How we close Views without using Java Script

Former Member
0 Kudos

Hi All,

can you please suggest me how i close view with out using java script.

if possible please reply with code.

Thanks

Siva

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Siva,

You can do this either by hiding your window or by closing the window. Following is the sample code to do that

IWDWindowInfo windowInfo = null;

IWDWindow window =null;

windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo).findInWindows("<<WindowName>>");

if(windowInfo!=null)

{

window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);

}

window.hide();

Try with this code, might be useful for your scenario.

Thanks,

Sandeep

Former Member
0 Kudos

Thanks Sandeep. i solved my problem. Great Help

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Siva,

check this link

Regards,

vino

Former Member
0 Kudos

Hi,

may You are not able close the browser , but you can navigate to other url using exitplug.

Regards,

Naga

Former Member
0 Kudos

Using External Java Script I know. instead of this ,Is there any Procedure to close view

Former Member
0 Kudos

What do you mean with "view"?

Armin