Skip to end of banner
Go to start of banner

Javascript Macro

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


Description

Scripting using Javascript. Since 4.1.0. This is server based scripting using Javascript - not to be confused with client side (browser) Javascript use.

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.

 

  • No labels