Access Keys:
Skip to content (Access Key - 0)
Home (Access Key - 1)
All spaces... (Access Key - 3)
Log in (Access Key - 5)
Sign up (Access Key - 6)
Toggle Sidebar

Wiki Macro

(None)

Wiki Macro

By using the Wiki Macro execution vector, your script can be used as a macro in wiki pages, blogposts, comments and even the site welcome message!

To run your script, use the following syntax:

{scriptix:id=your_config_name}{scriptix}

Hints and Tips

You can get access to the macro parameters within your script - this allows people to pass settings in on an instance-by-instance basis, for example:

{scriptix:engine=JavaScript|name=Joe Burns}
output = 'The name is: '+macro.params.get("name");
{scriptix}

You can use User Macros to make your Scriptix macros easier and cleaner for end-users.

Find out how...

Scripts

The following scripts contain the vector-wikimacro label indicating that they use this execution vector:

Backup Manager — These scripts allow you to create a handy interface for managing Confluence nightly backups via the web browser...
Hello JRuby — A proof of concept script that shows how to use JRuby with Scriptix
Page Forum — A very early attempt at making a mini-forum in Confluence...
Scanner — A basic script that recursively scans through the objects, properties and methods available in your context...
User Group List — This script lists all the user groups in Confluence...
Toggle Sidebar
Added by Guy Fraser on Jun 15, 2007 18:08, last edited by Guy Fraser on Jun 15, 2007 23:12

Adaptavist Theme Builder Powered by Atlassian Confluence