cancel
Showing results for 
Search instead for 
Did you mean: 

call an URL on Button action

Former Member
0 Kudos

How to call an URL on action of Button

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Go through the tutorial

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/42af9f90-0201-0010-6099-ba67e5426bdf">Dialog boxes</a>

Former Member
0 Kudos

Hi Sharma,

Write this code inside a button action

IWDWindow window=wdComponentAPI.getWindowManager().createExternalWindow("http://www.google.co.in","Google-search",false);

window.open();

former_member751941
Active Contributor
0 Kudos

Hi Poonam,

Use this code inside the action of the Button.

String linkToBeOpen = "https://www.sdn.sap.com/irj/sdn";

IWDWindow window =

wdComponentAPI.getWindowManager().createNonModalExternalWindow(

linkToBeOpen,

"My window title");

window.show();

Regards,

Mithu

Former Member
0 Kudos