Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

FindApplet Method


FindApplet returns the applet that is identified by the appletName argument.

Syntax

theApplication().FindApplet(appletName)

Argument
Description

appletName

String variable or literal containing the name of the desired applet.

Returns

The applet identified in appletName

Usage

The only applets available are applets visible in the active view.

Used With

Browser Script

Example

The following example is in Browser Script:

function Applet_ChangeFieldValue (field, value)
{
   if (theApplication().ActiveViewName() == "Account List View")
   {
      var newapplet = theApplication().FindApplet("Account Entry Applet");
      var entryappletcontrol = newapplet.FindControl("Name");
      var entryappletvalue = entryappletcontrol.GetValue();
      alert(entryappletvalue);
   }
}

Siebel Object Interfaces Reference