Siebel Object Interfaces Reference > Interfaces Reference > Applet Methods >

Name


The Name method returns the name of the applet.

Syntax

oApplet.Name()

Argument
Description
Not applicable
 

Returns

A string containing the applet object name.

Used With

Browser Script, Server Script

Example

Here is a Siebel VB example:

Function WebApplet_PreInvokeMethod (MethodName As String) As Integer

' Display the name of the applet from a custom button using the
' applet.Name() method to obtain the name of the applet
   If (MethodName = "displayAppletName") Then
      Dim appletName As String
      appletName = Me.Name()
      TheApplication.RaiseErrorText("The name of the applet is: " & appletName)
      WebApplet_PreInvokeMethod = CancelOperation
   Else
      WebApplet_PreInvokeMethod = ContinueOperation
   End If
End Function


 Siebel Object Interfaces Reference 
 Published: 18 June 2003