Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Developer's Reference > User Properties > Applet User Properties > Enabling Methods for AppletsThe 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: 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: 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: 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 © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |