Using Declarative Configuration to Enable a Button

To enable a button, you can script the WebApplet_PreCanInvokeMethod to set the CanInvoke parameter of an event to TRUE. It is recommended you use declarative configuration to enable a button because a performance cost occurs when scripting the WebApplet_PreCanInvokeMethod event.

To use declarative configuration to enable a button

  • Use declarative configuration rather than scripting to enable a button.

    You can configure the CanInvokeMethod applet user property to enable a button. For more information on using a minibutton to call a custom method, see Siebel Object Interfaces Reference.