cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Personas - dynamically calling an URL in HTML control ?!

Former Member
0 Kudos

Hi,

regarding a question I got from a customer :  is it possible to make the URL from a HTML control variable ?  Simple example :  if button A is clicked the HTML control should call up the URL :  www.google.com / if button B is clicked, www.yahoo.com.

Tried to do it via Javascript, by using the getElementByID function, but somehow I keep getting the same script error.

Any ideas ?!

Regards

Bart

Accepted Solutions (0)

Answers (2)

Answers (2)

eralper_yilmaz
Participant
0 Kudos

You can use script button for displaying urls using JavaScript window.open

You can get the value of the control in one step into a variable

Then by checking it using IF you can display different url addresses

0 Kudos

Hi Bart,

Yes its possible. Please check the discussion here:

http://scn.sap.com/thread/3427439

Regards,

Sushant