Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

InvokeMethod Method


InvokeMethod calls a specialized method or user-defined method specified by its argument.

Browser Script Syntax

theApplication().InvokeMethod(methodName, methodArgs_PropSet);

Argument
Description

methodName

The name of the method.

methodArgs

One or more strings containing arguments to methodName.

Server Script Syntax

Application.InvokeMethod(methodName, methodArgs);

Argument
Description

methodName

The name of the method.

methArg1, methArg2, ..., methArgN

One or more strings containing arguments to methodName.

Returns

In Server Script, returns a string containing the result of the method

In Browser Script, returns a Boolean

Usage

InvokeMethod allows you to call methods on an Application object that is exposed directly through the Application interface.

NOTE:  The InvokeMethod method should be used only with documented specialized methods. Siebel Systems does not support calling specialized methods with InvokeMethod unless they are listed in this book.

Used With

Browser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script

Example

For an example, read InvokeMethod Method.

Siebel Object Interfaces Reference