Difference between revisions of "Spel Reference Guide"

From SDU
Jump to: navigation, search
(Edited for grammar and better flow.)
(Overview)
Line 8: Line 8:
  
 
Note: .spl files with a ''pcd'' preceding the .spl are encrypted files, such as chgpcd.spl or itilpcd.spl.
 
Note: .spl files with a ''pcd'' preceding the .spl are encrypted files, such as chgpcd.spl or itilpcd.spl.
 +
 +
Spel is usually used to write methods for object or attribute triggers.  Examples may be attribute validation, notification, post processing, etc.
 +
 +
Spel is interpreted and executed by the Method Engine (spel_srvr), it can also be executed from the command line with bop_cmd command that interprets the fragment (.frg) files and executes the code.
 +
 +
The language resembles C++.  Unlike C or C++, Spel does not support pointers or structures.
  
 
== Reference Sections ==
 
== Reference Sections ==

Revision as of 16:14, 3 March 2009

To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.

Overview

Spel is CA proprietary code used to script Service Desk core operations. Spel code can be found in .spl and .maj files located in $NX_ROOT\bopcfg\majic and $NX_ROOT\site\mods\majic directories. Other examples can be found in the $NX_ROOT\samples directory.

Note: .spl files with a pcd preceding the .spl are encrypted files, such as chgpcd.spl or itilpcd.spl.

Spel is usually used to write methods for object or attribute triggers. Examples may be attribute validation, notification, post processing, etc.

Spel is interpreted and executed by the Method Engine (spel_srvr), it can also be executed from the command line with bop_cmd command that interprets the fragment (.frg) files and executes the code.

The language resembles C++. Unlike C or C++, Spel does not support pointers or structures.

Reference Sections

Functions


Statements


Other

See Also

WSSIWYG by Nero Le Velu