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
- Open command prompt (in Run command field type CMD or command)
- cd c:\program files\siebel\7.8\web client\bin
- genbscript “C:\Program Files\Siebel\7.8\Web Client\BIN\ENU\uagent.cfg” “C:\Program Files\Siebel\7.8\Web Client\PUBLIC\ENU”
don’t append \ after ENU you will get an error. \ is automatically appended by siebel when you run that utility.
genbscript has the following syntax:
genbscript “your path to cfg file” “path where browser script should be generated”
You can also automate generation of browser script with the help of batch file. But that is subject of another post.