Guidelines for Using Siebel Script Editor
If you use the Siebel script editor, then it is recommended that you adhere to the following guidelines:
-
To verify the format of your Siebel VB or Siebel eScript script, click Check Syntax on the Script Editor toolbar. The Siebel Compiler displays any format errors it finds and indicates the lines where these errors occur.
Note: Web Tools implicitly saves changes to your script. -
When pasting text into the Script Editor, avoid using two code blocks that use the same name. To do this, do the following depending on the type of script you use:
-
Siebel eScript. Place the code between
function Name {}
. You must enclose all function code within braces, { }. -
Siebel VB. Place the code between
Sub Name
andEnd Sub
or within a function, for example, as follows:Function myFunction(...) as X // insert code here End Function Sub mySub(...) // insert code here End Sub
-
-
To test your changes, see Guidelines for Testing a Script.