Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Defining a variable in a page

Gianni Pucciani
Contributor
September 30, 2014

Hello,

Is there a way to define a variable in Confluence and pass its value to some macros in the same page?

Thanks in advance for your help.

Regards,

Gianni

1 answer

1 accepted

0 votes
Answer accepted
Stephen Deutsch
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.
September 30, 2014

Hi Gianni,

The easiest way is to use the run macro:

https://marketplace.atlassian.com/plugins/org.swift.confluence.run

You could also do it using a user macro, but it would be much more complicated.

Best regards,

Stephen

Gianni Pucciani
Contributor
October 1, 2014

Indeed the run macro is a good solution, thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events