Skip to main content

Posts

Showing posts with the label Browser Script

How to generate Browser Scripts for Siebel Dedicated Client

Open the properties of Siebel Dedicated Application (Siebel Public Sector - ENU) shortcut. From the Target field get the cfg path which might look like this: " c:\Siebel\15.0.0.0.0\Client\bin\enu\publicsector.cfg " if you are using the vanilla cfg. You need modify the below CMD command as per your Siebel installation directory. C:\Siebel\15.0.0.0.0\ses\siebsrvr\BIN\genbscript C:\Siebel\15.0.0.0.0\Client\bin\enu\publicsector.cfg C:\Siebel\15.0.0.0.0\Client\PUBLIC\enu enu This is path of Browser Script generating Utility: C:\Siebel\15.0.0.0.0\ses\siebsrvr\BIN\genbscript This is the path of Siebel Dedicated Client cfg path: C:\Siebel\15.0.0.0.0\Client\bin\enu\publicsector.cfg Below is the path where Browser Script Utility will generate the Browser Scripts. Make sure this is correct as Siebel Dedicated Client get the Browser Scripts from this path ( *\Client\PUBLIC\enu ). C:\Siebel\15.0.0.0.0\Client\PUBLIC\enu Open the Windows Command Prompt and paste the above command and press ...

How to generate Browser Scripts for Siebel Server

Run below command on CMD, make sure to change paths according to your installation directory of Siebel: E:\siebel\8.2.2.0.0 \ses\siebsrvr\BIN\genbscript E:\Siebel\8.2.2.0.0 \Client_1\BIN\ENU\publicsector.cfg E:\Siebel\8.2.2.0.0 \sweapp\Public\enu enu pause Or open notepad and paste the above and save it as .bat file. Double click on bat file and browser scripts will start generating. E:\siebel\8.2.2.0.0\ses\siebsrvr\BIN\genbscript  > Scripts Generator Utility. E:\Siebel\8.2.2.0.0\Client_1\BIN\ENU\publicsector.cfg > CFG of Server. E:\Siebel\8.2.2.0.0\sweapp\Public\enu  > Browser scripts will be generated here. enu > Language. pause > After completing the generartion of Browser scripts CMD will not auto close unless press any key.

How to add confirm message dialog on button click in Siebel Applet Browser Scripts

Background: On some action like button click it is recommended to add confirmation message as user might accidentally click the button and operations starts or change the value of field based on which some action happen like a trigger. Process: Add below script Applet Browser Script, compile and generate browser scripts and test. function Applet_PreInvokeMethod (name, inputPropSet) {    if(name == 'NewRecord')    {       if(confirm("Are you sure you want to create a new record??"))          return ("ContinueOperation");       else          return ("CancelOperation");     } return ("ContinueOperation"); }   Change the method name and message as per your need. Note: On every compilation you will need to regenerate the browsers scripts and place on web server path.

Profile Attributes is not working on Applet Browser Script in Siebel Server and Dedicated (Local) Client

Oracle disable SetProfileAttr() and GetProfileAttr() feature as a security fix in browser scripts, but you can enable this feature with Server Configuration parameter. For Server: Go to Administration - Server Configuration then Enterprises then Component Definitions  and query your Object Manager e.g. *Public Sector*ENU* Click on Menu button on Component Definition applet. and click on Start Reconfiguration and now query EditProfileAttr in Component Parameters Applet and set its value to TRUE Name of Parameter: EditProfileAttr Value : TRUE Now click on  Menu  button on  Component Definition  applet  and click on Commit   Reconfiguration . Either restart the Siebel Services or just restart the component on which you have made the changes. For Dedicated Client: For dedicated client add below parameter in CFG file under  InfraUIFramework section: EditProfileAttr = TRUE