Siebel Object Interfaces Reference > Interfaces Reference > Applet Methods >

BusObject Method


BusObject returns the business object for the business component of the applet.

Syntax

oApplet.BusObject()

Argument
Description

Not applicable

 

Returns

The business object for the applet's business component.

Used With

Browser Script, Server Script

Example

The following example is in Browser Script:

function Applet_Load ()
{
   var appletname = this.Name();
   var currBO = this.BusObject();
   var currBOName = currBO.Name();
   alert("The active Business Object for the " + appletname + " is: " + currBOName);
}

The following example is in Siebel eScript:

function WebApplet_Load ()
{
   var busObj = this.BusObject();
}

The following example is in Siebel VB:

Sub WebApplet_Load
   Dim oBusObject As BusObject
   Set oBusObject = Me.BusObject

End Sub

Siebel Object Interfaces Reference