Description
Java scripting using javascript. Since 4.1.0. This is server based scripting with javascript - not to be confused with client side (browser) javascript.Parameters
- See Macro parameters
Pre-defined variables
Usage
{javascript} var v = new java.lang.Runnable() { run: function() { print('This is some test data.'); } }; v.run(); {javascript}
{javascript:output=wiki|script=#my.js|group=confluence-users} {javascript}
{javascript:output=wiki|script=^my.js|showCode=true} {javascript}
Other examples
Security
This macro supports Macro Security for Confluence.