Wednesday, June 25, 2008

Browser Scripting

Browser Script is script that is run in the client application.It is more efficient to run browser script than server script in most cases, but the drawback is that browser script cannot accomplish as much as server script.

Browser script is commonly used for the following functions:

  • Modifying parts of the UI dynamically (i.e. font colors or sizes, etc.).
  • Exposing or hiding form applet controls.
  • Working with ActiveX objects (such as interacting with another application).
  • Showing alerts or popup windows.
  • Invoking business services.
  • Obtaining input from the user.
There are some important limitations to browser scripting:

  • There are no Query operations. All operations in browser script act on the current context.
  • You cannot use Virtual Basic (VB) in browser scripting, only eScript (since it is based on JavaScript).
  • The only fields available for use in browser script are the Id field and any field that is visible in the UI. Hidden fields and fields not mapped to a web template cannot be referenced.
  • You cannot use the built-in Siebel Tools debugger with browser script. It will ignore any breakpoints you place.

2 comments:

siebljr said...

I'm still new in Siebel, I would like to ask if there is a way to pass variable or data from browser script to server script? my goal is to issue a prompt or alert to the user when variable for a date difference computation is greater than 1

siebljr said...

I'm still new in Siebel, I would like to ask if there is a way to pass variable or invoke from browser script to server script? my goal is to issue a prompt or swealert to the user when a condition is met

 
template by suckmylolly.com flower brushes by gvalkyrie.deviantart.com