Siebel Object Interfaces Reference > Browser Script Quick Reference > Object Interfaces Reference >

Application Methods for Browser Script


Table 104 describes a summary of the application methods you can use in Browser Script. It does not include object interface methods that Siebel CRM does not call directly from an application object instance. For information about methods it calls with the InvokeMethod method on the application object, see LoadObjects Method for an Application.

Table 104. Summary of Application Methods for Browser Script
Method
Description
Format

ActiveApplet Method for an Application

Returns the name of the active applet.

var applet;
applet = theApplication().ActiveApplet();

ActiveBusComp Method for an Application

Returns the name of the business component that the active applet references.

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

ActiveBusObject Method for an Application

Returns the name of the business object for the business component that the active applet references.

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

ActiveViewName Method for an Application

Returns the name of the active view.

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

FindApplet Method for an Application

Returns the name of an applet.

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

GetProfileAttr Method for an Application

Returns the name of an attribute in a user profile.

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

GetService Method for an Application

Locates a business service. If this business service is not already running, then Siebel CRM starts it.

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

InvokeMethod Method for an Application

Calls a method.

var outPs;
outPs = theApplication().InvokeMethod
(methodName, methArg1, methArg2, methArgN);

Name Method for an Application

Returns the name of the Siebel application.

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

NewPropertySet Method for an Application

Creates a new property set.

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

SetProfileAttr Method for an Application

Personalization uses this method to set a value for an attribute in a user profile.

theApplication().SetProfileAttr(name, value);

ShowModalDialog Method for an Application

Allows you to display a dialog box with the cursor in the default state.

theApplication().ShowModalDialog (url[, argin][, options])

SWEAlert Method for an Application

Displays a modal dialog box that includes a message.

theApplication().SWEAlert(message);

Siebel Object Interfaces Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.