Forums

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

Confluence equivalent of FrameMaker variable / Flare snippet / Word DocVariable

Robert Lauriston
Contributor
September 11, 2014

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

1 vote
Jonathan Simonoff
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 12, 2014

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.)

Robert Lauriston
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 15, 2014

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>

0 votes
Robert Lauriston
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 15, 2014

I opened another question for this apparent bug.

https://answers.atlassian.com/questions/8619811

0 votes
CharlesH
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 11, 2014

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.

Robert Lauriston
Contributor
September 12, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events