genbscript – Generate Browser Scripts.

Browser scripts are indispensable part of Siebel scripting. Browser scripts are nothing but java scripts that are executed on client side. Mostly when the requirement is to show a prompt (YES/NO OR OK/CANCEL) we write browser script for that. When you write a browser script on an object a .js file is created in the browser script folder for that object. That file contains the JavaScript code.

Browser scripts are located in Siebel installation\web client\public\enu.

When you compile the object on which you have written browser scripts the .js files are automatically generated in the path specified above. But sometime there is need to generate browser scripts manually as sometimes due to some patches or some reason browser scripts are not properly generated. Siebel has provided us with a utility called genbscript which allows to manually generate browser scripts. This utility is located in

Siebel installation\web client\Bin\genbscript.exe

You have to run that utility from command prompt. Follow the steps given below to generate browsers scripts manually using genbscript utility. For the sake of simplicity we are assuming that Siebel is installed in C Drive you can change the path according to your installation

I like to know which is best practise for generating browser script for compiled SRF. either it is incremental or Full compiled. Actually we are not facing any issue if we use by tools option for generating bs.