Siebel Tools: How to program Browser Script & Server Script

Browser Script

A. Select the Applet, Application, View or something else what you want to modify.

clip_image002[4]

B. Press Alt+L or click ‘Tools > Lock Projects’ to lock object

clip_image004[4]

C. Right-click on your object and select ‘Edit Browser script’.

clip_image006[4]

D. Modify script

clip_image008[4]

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

clip_image010[4]

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

clip_image012[4]

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.

clip_image013[4]

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

yexianyi

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值