Configuring the MethodInvoked Property of a Control

Siebel CRM does the following in an HTML client according to the value of the MethodInvoked property:

  1. The user clicks a button.

  2. The MethodName property of control that this button references control calls an InvokeMethod call in the browser applet class. This class runs in the HTML browser.

  3. A Browser Script on the applet includes a PreInvokeMethod handler that intercepts the method and handles the PreInvokeMethod event.

  4. If Siebel CRM does not handle the InvokeMethod call in the:

    • Browser applet class. It does an InvokeMethod call in the server applet class. The client applet class uses this method to call the server applet unless a specialized client applet exists that handles this method in the client. To handle this method, you can use a WebApplet_PreInvokeMethod script in Siebel VB or Siebel eScript.

    • Server applet class. It forwards the call to the business component that the applet references. This business component resides on the server. To handle this method, you can use a BusComp_PreInvokeMethod script in Siebel VB or Siebel eScript.

  5. If Siebel CRM does not handle the InvokeMethod on the business component that resides on the server, then it returns an error.