It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

variables in the text

hi support

 

Is there a way to define  a variable in the begining of the document (something like $MeetingHour ) and then use it in several places inside the document or its subdocuments.

thnaks

 

2 answers

1 accepted

Hi David,

Maybe the Easy Space Variables (ESV) app will meet your requirements. You can find the app on the marketplace.

Regards,
Stephan (CEO of EPS Software Engineering AG, the vendor of the ESV app)

I cannot test it because trial version doesnt allow even to save newly created variable.

Besides, it is in fact space-wide variable, not document specific

Besides, need admin right to create one??

Beside, it allows simple text. not any formated one

BR
D.

Hi David,

This is really not good. May I ask you to open a ticket on our service desk so that we can investigate the causes.

It's: https://issue.eps.ch/servicedesk/customer/portal/10

Thank you very much and regards,
Stephan

Stephan - does ESV permit variables to be defined at the top of the page, and expanded out in any content, including multi-except content from other pages?

I have some simple-task pages which contain simple steps, which should use variables defined in those pages.

The core steps are marked to be used as excerpts in other pages.

The other larger pages would define the same variable names with different values and take excerpts from a variety of pages; to make specific instructions.

The larger pages would have the same core contents as the smaller pages, but show different variable values in the steps.

Is this something that ESV can do?

(Note, these are page variables, not space variables). (Implementation as page properties would be fine)

An alternative solution could be the projectdoc Toolbox (commercial add-on available on the Atlassian Marketplace).

It also provides tools to define space variables (we call them space properties) that can be referenced from all pages within the Confluence site.

There is also the option to define variables on a page (we call them document properties). The property values can be accessed by specifying the page and the name of the property -- either directly by the use of the Display Document Property Macro or tabular with Tour Macro; or as a result of a query using the Display Table Macro. You can even define a template with the Display Document Properties Macro to fetch multiple values (for instance the authors and publication date of a referenced article).

Regarding access to document properties from child pages: If you define a property in a parent page, the child pages can reference the parent page by the use of the Parent Property Macro. The Display Document Property Ref Macro can then be used to access the referenced document (the parent page in this example) and read the value of a property of the referenced document. This feature is useful if the properties should change once the child page has been moved to a new parent page. Otherwise the Display Document Property Macro allows to specify a link to a page by its title.

Biased alert: Please note that I am an author of the projectdoc Toolbox. So my answer is surely biased. :)

The projectdoc Toolbox is available for Confluence server. More information on our add-on is available in the Online Manual. There are also a lot of examples for blueprints (we call doctypes) available for free on the Atlassian Marketplace (also published as open source projects on Bitbucket).

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

5,344 views 4 6
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you