Confluence equivalent of FrameMaker variable / Flare snippet / Word DocVariable

Does Confluence have this feature? Typical use case, define a variable for the release version, when the version changes from 6.0 to 6.1 you change it once and all occurrences are updated.

I tried defining a macro but the text always gets rendered in its own paragraph.

3 answers

You can do this with user macros, although it is a little awkward.

The trick is that the user has to click on the macro after inserting it and click the icon that makes it render inline.  (The two icons have popup text that tell you what they do.)

Doesn't work. Confluence adds a bunch of extra tags and it ends up on a separate line with no formatting. What I have is <code>productname_1.2.3.jar</code>. After I replace 1.2.3 with the macro I get: <code> productname_</code> </p> <ac:structured-macro ac:name="wa_version"> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:plain-text-body><![CDATA[ ]]></ac:plain-text-body> </ac:structured-macro> <p> <code>.jar</code>

Yes this is possible, but you'll need 2 plug-ins to achieve it. Scaffolding can be used to create form fields in a wiki page, e.g. text-data macro. Each field is named, allowing it to be referenced with the aid of the Reporting plug-in.

There are Q&A and examples on the ServiceRocket Get Satisfaction site which will help you with this.

That sounds way too complicated and it's too expensive. Same goes for Scroll Versions.

I opened another question for this apparent bug.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

262 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you