Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Info

How to use a JSMA in a WebMacro?

JSMAs are available in every webmacro without any further doing. So i.e. the JSMA files can be used any time in a WebMacro script like this:

Code Block
languagejs
linenumberstrue
...
//retrieves a file content with the given uuid in the variable myFileUuid
var myFile = files.findForUuidfindByUuid(myFileUuid);
...




Technically speaking JSMAs are a inversion of control concept where the platform container injects the instances into the script context before executing the WebMacro script.

...