Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Applet Events > WebApplet_PreCanInvokeMethod EventThe PreCanInvokeMethod event is called under the following conditions, allowing the script to determine whether or not the user has the authority to invoke the applet method:
NOTE: It is often easier to enable and disable methods at the applet level declaratively, using the CanInvokeMethod applet user property. For an example of this, see Invoking Custom Methods with MiniButton Controls. For more information on the CanInvokeMethod user property, see Siebel Developer's Reference. SyntaxWebApplet_PreCanInvokeMethod(MethodName, &CanInvoke)
NOTE: Using the FirstSelected business component method with the PreCanInvokeMethod event can cause unexpected behavior in pick applets invoked from the applet where this event is called. ReturnsCancelOperation or ContinueOperation Used WithExampleThe following example is in Siebel eScript: function WebApplet_PreCanInvokeMethod (MethodName, &CanInvoke) The following example is in Siebel VB: Function WebApplet_PreCanInvokeMethod (MethodName As String, CanInvoke As String) As Integer |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |