Has anyone used the run macro on confluence?

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2016

Hi All

I am trying to use Run macro on confluence but unable to do so. I followed the steps but the macro content is simply displayed as text. How cani proceed?

On the user guide it says - 

On the main page, add the run macro surrounding the content that needs to be archived similar to the following

{run:exportFile=Example - Archive^example-$current_time.html
|titleExport=Save page snapshot
|exportVersion=replace
|attachmentComment=Example-archive-$current_time
|dateFormat=yyyy.MM.dd
|autoRun=true
|hideRun=true}

{sql-query:datasource=testDS}
select * from address
{sql-query}

{run}


2 answers

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2016

In the editor, you need to use Insert -> Markup to convert the example into live macros.

0 votes
Doug Swartz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2016

What version of Confluence are you on, and what version of the Run macro do you have installed?

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events