Applet Methods for Browser Script

The following table describes a summary of the applet methods you can use in Browser Script.

Method Description Format

ActiveMode Method for an Applet

Returns a string that contains the name of the current Web template mode.

var oApplet;

var mode = oApplet.ActiveMode();

BusComp Method for an Applet

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

var oApplet;

var busComp = oApplet.BusComp();

BusObject Method for an Applet

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

var oApplet;

var oBusObject = oApplet.BusObject();

FindControl Method for an Applet

Returns the name of a control.

var oApplet;

var oControl;

oControl = oApplet.FindControl(controlName as String);

InvokeMethod Method for an Applet

Calls a method.

var oApplet;

var outPs;

outPs = oApplet.InvokeMethod(MethodName as String, inputPropSet as PropertySet);

Name Method for an Applet

Returns the name of an applet.

var oApplet;

var name = oApplet.Name();