Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Variables in Included Pages

Laura Novich March 25, 2024

Is there a way to include variables in included text so that in page A the variable has one value and in page B it has another?

 

 

2 answers

0 votes
Laura Novich March 27, 2024

And this will work with included pages?

How? How can a variable in text which is included in two different pages be populated with two different values?

Barbara Szczesniak
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.
March 27, 2024

@Laura Novich If you look at the information panel in the last screenshot @Laurie Sciutti included, you will see that the value you choose for the variable when creating the page becomes part of the page content.

I believe this means that it is no longer a variable—it's just text on the page. Someone please correct me if I'm wrong.

0 votes
Laurie Sciutti
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.
March 26, 2024

Hello @Laura Novich and welcome to the Community!  Yes ~ this is possible!

 

  • Create a new space template
  • In edit mode, add the "New variable" macro
  • give it a name and edit it to select the type (Text, Multi-line text, or List

Capture.PNG

  • Then, when you use the template, the variables will allow dynamic information for the new page.

Capture.PNG

Laurie Sciutti
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.
March 27, 2024

@Laura Novich ~ @Barbara Szczesniak is correct.  Once you create the page using that template, the option you choose becomes part of the page content.

Capture.PNG

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events