Good morning....As you will see when you view the script I am fairly new to Java. All I am trying to accomplish with this script is to navigate to the static URL listed in the script, however, one of the parameters in the URL requires the "Contact_Ph one" variable which I pass to the script at runtime as a telephone number similar to the following;
"Siebel_Query_W ith_ANI.html 813466XXXX"
All the logic works great if I enter the phone number as a static entry in the URL or if I just assign this value to a variable within the script and reference that variable within the URL. I really need to launch the script with this varriable as the number changes each time.
Thank you in advance....PLEA SE HELP.....
"Siebel_Query_W ith_ANI.html 813466XXXX"
All the logic works great if I enter the phone number as a static entry in the URL or if I just assign this value to a variable within the script and reference that variable within the URL. I really need to launch the script with this varriable as the number changes each time.
Thank you in advance....PLEA SE HELP.....
Code:
<html>
<head>
<script>
Contact_Phone = WScript.Arguments.Item(0)
<script/>
<script type="text/javascript">
window.navigate("http://sdcrmweb01:80/ecommunications_enu/start.swe?SWECmd=InvokeMethod&SWEMethod=GetContact&SWEService=SND_CTI_Call&ViewName=All&Contacts&across&Organizations&BusObject=Contact&BusComp=Contact&Phone=" + Contact_Phone + "&SWERF=1&SWEBU=1","siebelcti");
</script>
</head>
</html>
Comment