您的位置:首页 > 其它

Siebel Tools: How to program Browser Script & Server Script

2009-09-07 20:43 706 查看
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.
Yexianyi@hotmail.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐