cancel
Showing results for 
Search instead for 
Did you mean: 

Help required on using ClientClick on the WEB UI button

Former Member
0 Kudos

Hi All,

I have a requirement to lauch an particular site dynamically based on the input. I have used the following code in the implementation method

ls_button-on_click = 'OpenUrl'.

ls_button-on_client_click = 'javascript:window.open( "google.co.in" );'.

ls_button-enabled = lv_enabled.

APPEND ls_button TO gt_button.

I wanted to replace the hard coded URL into a dynamic one. I have tried using

ls_button-on_client_click = 'javascript:window.open("<%=lv_url%>");'. this gives me a 400 BAD HTTP request error.

Also please let me know the variable used to hold the http time out in CRM WEB UI.

Thanks for your help in advance.

Regards,

Suthagar

Edited by: suthagar solai on Sep 15, 2008 8:15 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Suthagar,

just one question. Did you add the link to the user interface by a button? How is the behaviour of the User Interface when you launch the URL?

Please let me know,

Regards,

A.

xavier_dehairs2
Active Participant
0 Kudos

Note sure at all, but did you tried using 'http://www.google.com' instead of 'google.com' ?

Former Member
0 Kudos

Hi All,

I have solved the problem myself. I have just concatenated all the values and passed it to the ls_button-on_client_click and it worked fine.

Sudha