My Oracle Support Banner

Run SmartScript from a Button (Doc ID 1501033.1)

Last updated on OCTOBER 28, 2022

Applies to:

Siebel SmartScript - Version 7.0.4 [14068] and later
Information in this document applies to any platform.


 To enable the invocation of a SmartScript from a button click.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

To create a button on an applet.
1. The first step is make sure that Siebel Tools will compile your scripts into the right directory.

2. Locate Contact List Applet.

 3. Add a Push Button to the Contact List Applet.
 4. Add Server Script to the Contact List Applet.

Click on WebApplet_PreCanInvokeMethod in the tree view.
 Click on WebApplet_PreInvokeMethod in the tree view.

 In Edit Server Scripts > General Section declarations > Create a function.
 5. Add Browser Script to the Contact List Applet.
 Select the Applet_PreInvokeMethod from the tree control.
 6. Compile the Application.
 7. Genbscript

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.