CanInvokeMethod Method

The CanInvokeMethod method determines whether or not Siebel Open UI can call a method. It returns the following properties. If you use CanInvokeMethod, then you must configure it so that it returns these properties:

  • Invoked. This property returns one of the following values:

    • true. Siebel Open UI examined the method.

    • false. Siebel Open UI did not examine the method.

  • RetVal. This property returns one of the following values:

    • true. Siebel Open UI can call the method.

    • false. Siebel Open UI cannot call the method.

The CanInvokeMethod method uses the following syntax:

Applet.CanInvokeMethod(methodName)

where:

  • methodName is a string that contains the name of the method that CanInvokeMethod examines. CanInvokeMethod gets this string as a property that resides in an input property set.

For examples that use CanInvokeMethod, see the following topics: