Browser Script
A. Select the Applet, Application, View or something else what you want to modify.
B. Press Alt+L or click ‘Tools > Lock Projects’ to lock object
C. Right-click on your object and select ‘Edit Browser script’.
D. Modify script
E. After modified your script, you may run your codes with two methods as below,
l Run Browser Script on Dedicated Client
1. Go to View > Options > Scripting
2. Modify ‘Browser script compilation folder’ to client_root/public/language_code
e.g. G:/Siebel/8.0/Web Client/PUBLIC/enu
3. Go to Tools > Compile Projects
4. Check ‘Locked projects’ radio button
5. Modify ‘siebel respository file’ to client_root/objects/language_code/siebel_sia.srf or siebel.srf if you using HOR.
e.g. G:/Siebel/8.0/Web Client/OBJECTS/ENU/siebel_sia.srf
6. Click Compile button to execute your compilation.
l Run Browser Script on Web Client (Siebel Server)
1. Go to View > Options > Scripting
2. Modify ‘Browser script compilation folder’ to siebsrvr_root/webmaster
(Note: You needn’t locate path to language_code folder)
3. e.g. E:/SIA80/siebsrvr/WEBMASTER/enu (Wrong!)
E:/SIA80/siebsrvr/WEBMASTER (Correct!)
4. Go to Tools > Compile Projects
5. Check ‘Locked projects’ radio button
6. Modify ‘siebel respository file’ to
siebsrvr_root /objects/language_code/siebel_sia.srf or siebel.srf if you using HOR.
e.g. E:/SIA80/siebsrvr/OBJECTS/ENU /siebel_sia.srf
7. Click Compile button to execute your compilation.
8. After you compile, you must do one of the following, otherwise you may receive an Object Not Found error message:
a) Stop and restart the Web server.
b) Log into the application (for example, http://user_name.siebel.com/callcenter) and then type the following URL into the Address field of the browser:
http://user_name.siebel.com/callcenter/start.swe?SWECmd=UpdateWebImages&SWEPassword=passwd
Where passwd is the Siebel Enterprise Security Token. This token is specified when configuring the SWSE logical profile.
Server Script
If you intend to program Server Script, you needn’t locate Scripting Path.
That means you needn’t perform Step2 regardless of you want to run script on Dedicated Client or Web Client.
In addition, only a bit of configuration need be changed. That’s Step C in Chapter ‘Browser Script’. You should right-click on your object and select ‘Edit Server script’
The rest of steps are not changed.
If you still have question on Tools Programming, please contact me.