Difference between revisions of "Spel Reference Guide"

From SDU
Jump to: navigation, search
m (Reverted edits by Agegeleruvy (Talk); changed back to last version by Kowy)
(Reference Sections)
Line 37: Line 37:
 
*[[workshift_abs2work]]
 
*[[workshift_abs2work]]
 
*[[workshift_work2abs]]
 
*[[workshift_work2abs]]
 +
*[[exec]]
 
|-
 
|-
 
|}
 
|}

Revision as of 13:10, 12 April 2011

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.

Note: please treat SPELL as SPEL

Overview

Spell is CA proprietary code used to script Service Desk core operations. Spell 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.

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

Spell 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++, Spell does not support pointers or structures.

Reference Sections

Functions


Statements


Other

See Also

WSSIWYG by Nero Le Velu