InvokeMethod Method for Application Models
The InvokeMethod method that Siebel Open UI uses for application models calls a method. It returns a value from the method that it calls. It uses the following syntax:
SiebelApp.S_App.InvokeMethod("method_name", psObject, ai);
where:
method_name identifies the name of the method that InvokeMethod calls.
psObject
is an object that contains a property set that InvokeMethod sends as input to the method that it calls, if required.ai
is an object that contains information about how to run AJAX.
For example, the following code calls the NextApplet method. This method sets the next applet as the active applet of a view:
SiebelApp.S_App.InvokeMethod("NextApplet", psObject, ai);
For more examples that use the InvokeMethod method, including for Disconnected clients, see the following topics:
Using Siebel Business Services or JavaScript Services to Customize Siebel CRM Objects
Customizing Siebel Pharma for Siebel Mobile Disconnected Clients
For more information about using InvokeMethod, see Calling Methods for Applets and Business Services.
For more information about the InvokeMethod method that Siebel Open UI uses for other classes, see InvokeMethod Method for Presentation Models and InvokeMethod Method for Business Services.