ActiveApplet Method for an Application
The ActiveApplet method returns a reference to the applet that Siebel CRM displays.
Format
theApplication().ActiveApplet();
No arguments are available.
Usage
Use this method to identify the applet that Siebel CRM currently displays. This applet typically includes a blue border to indicate that it is active.
Used With
Browser Script
Examples
function Applet_PreInvokeMethod (name, inputPropSet)
{
switch (name)
{
case "Drilldown":
var activeapplet = theApplication().ActiveApplet();
var activeappletname = activeapplet.Name();
theApplication().SWEAlert("Here is the applet we are drilling down from "
+ activeappletname);
break;
}
return ("ContinueOperation");
}