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.
|
v ar 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)
|