MyFirstSpell.rar

File uploaded by TMACUL Champion on Aug 24, 2015
Version 1Show Document
  • View in full screen mode

CA SDM let me start on coding Spell getting variables

 

Create file at: $NX_ROOT\site\mods\majic

 

----------------------------------------------------------------------  zfirstspell.mod  ----------------------------------------------------------------------

MODIFY cr {

  POST_VALIDATE zFuncName() 993 FILTER ( category {} );

};

----------------------------------------------------------------------  zfirstspell.mod  ----------------------------------------------------------------------



----------------------------------------------------------------------  zfirstspell.spl  ----------------------------------------------------------------------

cr::zFuncName(...)

{

 

  int debug_mode;

  debug_mode = 1; //  1==> Debug enable or 0 = debug mode disable

 

string zcategoria;

zcategoria=category.sym;

 

 

  if ( debug_mode == 1 )

  {

  logf(SIGNIFICANT, "$$$$$$$$$$$$$$$$$$$$$$$$$$ BEGIN $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");

  logf(SIGNIFICANT, "zfirstspell.spl --  starting - debug ...");

  logf(SIGNIFICANT, "Categoria= %s", zcategoria)

  logf(SIGNIFICANT, "$$$$$$$$$$$$$$$$$$$$$$$$$$  END   $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$");

  };

}

----------------------------------------------------------------------  zfirstspell.spl  ----------------------------------------------------------------------


Standard value for:

$NX_ROOT = C:\Program Files (x86)\CA\Service Desk Manager


Where can I find Spel functions documentation?

Attachments

Outcomes