Siebel Developer's Reference > User Properties > Applet User Properties >

Enabling Methods for Applets


The CanInvokeMethod: MethodName applet user property enables or disable a method or a button. It must include a value or an expression that returns one of the following values:

  • TRUE. Siebel CRM enables the method.
  • FALSE. Siebel CRM disables the method.

MethodName identifies the name of the method that this user property enables or disables.

For example, Siebel CRM uses the following values to disable the Copy Record method that resides in the Partner Product List Applet:

  • Name. CanInvokeMethod: CopyRecord.
  • Value. FALSE.

The following example uses an expression for the value in the SIS Account List Applet. It enables the copy record feature for accounts that include a status but disables it for all other accounts:

  • Name. CanInvokeMethod: CopyRecord.
  • Value. [Account Status] IS NOT NULL.

Siebel CRM disables the method that the button calls. You can do this declaratively at the applet level. It is easier to use than scripting PreCanInvokeMethod.

Siebel CRM uses this user property in the CSSFrame class, CSSFrameList class, and the subclasses of these classes.

You can configure Siebel CRM to deactivate this user property, modify the value for it, or if an instance of it is not already defined, then to create a new instance of it.

Siebel Developer's Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.