Forums

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

Using variables to generate Confluence Pages

Jessica Zhang September 23, 2021

The way Confluence variables work seems closer to an input field. Is there a way to use variables to insert value across the page where the variable is used? 

 

For example, if I define $Version = 1500, and I'd want to insert $version in multiple areas on my page and have it populate the value 1500 where the variable is used. 

 

Example:

$Version = 1500 

The $verison you are requesting is available. To update from $version, make sure you are (...). 

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
September 29, 2021

Hi

Probably a simple user macro will work here - https://confluence.atlassian.com/doc/writing-user-macros-4485.html

The one that just outputs some static text you define and you use this macro as a placeholder everywhere you need

Alex

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events