How to automatically fill in variables on custom templates?

I know how to make a variable on a custom template, in which the user inputs the info for each variable before creating the document. But how do I get variables to automatically fill in like the pre-made Confluence templates? Variables like current date and document owner. 

Thanks for the help!

3 answers

I also would like this - I've just given up using variables on my custom templates because the experience for the user of the template is so bad.

By default variables can't be auto-filled with values like current date or username.

I don't know if there is a 3rd party plugin that does exactly what you need, but you can find a list of template plugins here.

We are using Page information which is free and works perfectly for us. You can add info like create date, create user, modify user etc. automatically by adding this macro to a page or even templates.  

That's only available for Server and the OP is using Cloud.

But thanks anyway Jan, we're on Server and I'd been following this thread in the hopes of help for us. smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

896 views 45 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you