InvokeMethod Method for an Application
The InvokeMethod method calls a method. It returns the following values:
-
In Server Script, it returns a string that contains the result of the method.
-
In Browser Script, it returns a Boolean value.
For more information, see About Specialized and Custom Methods.
Browser Script Format
theApplication().InvokeMethod(methodName, methArg1, methArg2, methArgN);
The following table describes the arguments for the InvokeMethod method.
Argument | Description |
---|---|
methodName |
The name of the method. |
You can use the following arguments:
|
One or more strings that contain arguments for the methodName argument. |
Server Script Format
Application.InvokeMethod(methodName, methArg1, methArg2, methArgN);
The arguments you can use with this format are the same as those described in the table of arguments for the browser script format.
Usage
The InvokeMethod method allows you to call a method on an application object that is made available directly through the Siebel application interface. For more information, see Caution About Using the InvokeMethod Method in InvokeMethod Method for an Applet and LoadObjects Method for an Application.
Used With
Browser Script, COM Data Control, COM Data Server, Siebel Java Data Bean, Mobile Web Client Automation Server, Server Script
Examples
For an example, see Examples of Using the FindControl Method in FindControl Method for an Applet.