How can I define a variable once in a space template and refer to its contents later in the same pag

Sean Tydings May 3, 2017

Apologies if this is extremely obvious and explained elsewhere.

I am creating a template for deployment instructions. I want to define a set of environmental variables once at the top of a page, and refer to the contents of these variables later in the page.

For example I want to define a version number variable once, and use its contents within the page at several places. This will be contained within pathnames etc.

Another variable would be the database name. Once defined this should be present in multiple places within the page created by the template.

Any pointers will be appreciated.

Thanks

 

Sean

1 answer

0 votes
Sean Tydings May 3, 2017

DOH!

I have answered my own question!

If I define a variable once at the top of my template, and refer to it in the same way throughout my template, pages created using this template correctly contain the referred values.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events