Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel SmartScript Administration Guide > Extending Scripts with Siebel VB and Siebel eScript >
Siebel VB and Siebel eScript
Siebel VB (Visual Basic) and Siebel eScript (a JavaScript-like scripting language that shares tools with Siebel VB) can be used with all SmartScript elements. This chapter describes the Siebel VB and Siebel eScript methods that are specific to SmartScripts. The syntax for all of these methods is the same in both Siebel VB and Siebel eScript. Most of the examples provided in this chapter are in Siebel VB; however, the methods work the same way in Siebel eScript. For more information about Siebel VB and Siebel eScript, see Siebel Tools Online Help.
NOTE: Siebel eScript functions work in the same manner as standard JavaScript functions, and thus requires the trailing parenthesis () even when the function has no parameters.
Any function that can be performed using Siebel VB or Siebel eScript can be performed in the context of a SmartScript or a call script. In addition, SmartScripts are automatically configured with five Siebel VB and eScript procedures, which can be added to a question or script using the SmartScript Script Programs view and Question programs view. In addition, administrators can create their own custom procedures from these views. See Table 8 for a list of these procedures.
Each question element is configured with four such procedures. Other elements do not have Siebel VB or Siebel eScript procedures associated with them. These procedures can contain methods which can be used to further control the workflow of a script. See Table 9 for a list of these procedures.
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel SmartScript Administration Guide Published: 23 June 2003 |