Siebel Object Interfaces Reference > Interfaces Reference > Applet Methods >

ActiveMode


ActiveMode returns a string containing the name of the current Web Template mode.

Syntax

oApplet.ActiveMode

Argument
Description
Not applicable
 

Returns

A string containing the name of the current Web Template mode.

Used With

Browser Script

Example

Here is an example for Browser Script:

function Applet_PreInvokeMethod (name, inputPropSet)

{
   if (name == "GetActiveMode") {
      var currMode = this.ActiveMode();
      TheApplication().SWEAlert ("The active mode for the selected applet is: " + currMode);
      return ("CancelOperation");
   }
   else
      return ("ContinueOperation")
}


 Siebel Object Interfaces Reference 
 Published: 18 June 2003