BusObject Method for an Applet

The BusObject method returns the name of the business object that the business component references.

Format

Applet.BusObject()

No arguments are available.

Used With

Browser Script, Server Script

Examples

The following example is in Browser Script:

function Applet_Load ()
{
   var appletname = this.Name();
   var currBO = this.BusObject();
   var currBOName = currBO.Name();
   theApplication().SWEAlert("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