cancel
Showing results for 
Search instead for 
Did you mean: 

Open modal window with extern URL?

Former Member
0 Kudos

Hello,

how can I open a modal window with a external url?

e.g. I want to open Google, but WD Code should stop and the google window is in front of my portal until it is closed. Then WD code continues.

WDPortalNavigation.navigateAbsolute(..) can't open a modal window, right? WD Source Code keeps running...

Can I open a WD-Window with context from a external URL?

I would be grateful for any help!

Best regards

Iris Deuring

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello again,

I just realized that the window is not really modal. I still can use WD window functionality. WD only reacts slower.

Any other ideas?

Best regards

Iris Deuring

Former Member
0 Kudos

Thank you for your answer, Nagaraju.

The window opens modal with true in modal attribute. Unfortunately WD Source Code doesn't care and keeps running. What happens to the window if it is closed? Is it null after closing or must I destroy it anyway?

Best regards

Iris Deuring

Former Member
0 Kudos

Hi,

Create an action for a button and write this code in that.

IWDWindow window =

wdControllerAPI.getComponent().getWindowManager().createExternalWindow(

"http://www.google.de",

"Google - Search for an email address",

false);

window.open();

Hope this help.

Regards,

Nagaraju Donikena.