Is it possible to create "auto" variables in a (confluence) template? (in an out of the box solution- no 3rd party)

Niklas Eyle June 10, 2016

- which generate system information automatically when a page is created from the template? like "currentDate" (would result in the current date)? Thanks in advance!

 

1 answer

0 votes
EPS Software Engineering AG
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.
June 10, 2016

Hi Niklas,

With our Page Tree Creator Add-on you can create templates based on normal Confluence pages. The Add-ons supports the following "auto" variables:

Default TagDescription
__Current_Country__Place the current country
__Current_Date__Place the current date
__Current_Day__Place the current day within the month, e.g. 15
__Current_Month_Number__Place the current month as number, e.g. 8
__Current_Month_Text__Place the current month as string, e.g. April
__Current_Time__Place the current time
__Current_User__Place the current user
__Current_WeekDay__Place the current week day, e.g. Monday, Tuesday...
__Current_Year__Place the current year
__Template_Creator__Place the user, which created the template
__Template_last_modification_Date__Place the modification date of the template
__Template_last_Modifier__Place the user, which has most recently edited the template
__Template_Space__Place the space of the template
__Template_Title__Place the title of the template
__Template_Version__

Place the version of the template

Try our Live Examples (no registration needed) and see how it works.

Marketplace link: Page Tree Creator.

Regards,
Stephan

Niklas Eyle June 10, 2016

So an Add-on ist the only way? 

EPS Software Engineering AG
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.
June 10, 2016

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events