Siebel Object Interfaces Reference > Browser Scripting >

Application


Table 67 lists a summary of the Application Methods syntax.

Table 67.  Application Methods Syntax Summary
Method
Description
Syntax
Returns the name of the applet that has input focus.
var applet;
applet = TheApplication().ActiveApplet();
Returns the business component associated with the active applet.

var busComp;
busComp = theApplication().ActiveBusComp()

Returns the business object for the business component of the active applet.

var busObject;
busObject = theApplication().ActiveBusObject();

Returns the name of the active view.

var viewName;
viewName = theApplication().ActiveViewName();

Returns the applet object identified in the argument.

var applet;
applet = theApplication().FindApplet(appletName);

Returns the value of an attribute in a user profile.

var sAttr;
sAttr = theApplication().GetProfileAttr(name);

Instantiates and returns a new instance of the service specified in the argument.

var svc;
svc = theApplication().GetService(serviceName);

Calls the named specialized method.

var outPs;
outPs = theApplication().InvokeMethod(methodName, inputPropSet);

Returns the value of an attribute in a user profile.

var appName;
appName = theApplication().Name();

Constructs and returns a new property set object.

var PropSet;
PropSet = theApplication().NewPropertySet();

Used in personalization to assign values to attributes in a user profile.

theApplication().SetProfileAttr(name, value);

Displays a modal dialog box containing a message to the user.

TheApplication().SWEAlert(message)

Table 68 lists a summary of the Application Events syntax.

Table 68.  Application Events Syntax Summary
Event
Description
Syntax
Called after a specialized method is invoked.

Application_InvokeMethod (name, inputPropSet)

Called before a specialized method is invoked.

Application_PreInvokeMethod (name, inputPropSet)


 Siebel Object Interfaces Reference 
 Published: 18 June 2003