WebApplet_InvokeMethod Event

Siebel CRM calls the WebApplet_InvokeMethod event after a specialized method on the Web applet runs. WebApplet_InvokeMethod starts only for a predefined method. It does not start for a custom method. For more information, see About Specialized and Custom Methods.

This method does not return any information.

Format

WebApplet_InvokeMethod(methodName)

The following table describes the arguments for the WebApplet_InvokeMethod event.

Argument Description

methodName

String variable or literal that contains the name of the method that Siebel CRM calls.

Used With

Server Script

Examples

The following example is in Siebel eScript:

switch (MethodName)
{
   case "NewQuery":
      TheApplication().SetSharedGlobal("EnableButton", "N"); break;
   case "ExecuteQuery":
      TheApplication().SetSharedGlobal("EnableButton", ""); break;
   case "UndoQuery":
      TheApplication().SetSharedGlobal("EnableButton", "");
   break;
}

The following example is in Siebel VB:

Select Case MethodName
Case "NewQuery"
   TheApplication.SetSharedGlobal "EnableButton", "N"
Case "ExecuteQuery"
   TheApplication.SetSharedGlobal "EnableButton", ""
Case "UndoQuery"
   TheApplication.SetSharedGlobal "EnableButton", ""
End Select

Related Topics

For more information, see the following topics: