Insert Variables button not working on template with variables

Created a template forum with variables.
After creating a new page with the template, I get to step 2: Fill in template Variables.

After filling out all information, i press the button "Insert Variables".
Nothing happens. It stays on the page with Step 2.

5 answers

0 vote
David Simpson Community Champion Jun 03, 2012

"Created a template forum" -- is this using some kind of add on? Please explain more fully.

I had that problem when there were additional macros on the page, eg {attachments}. I set up a series of templates using variables, and the results were a bit random. Some of the templates work fine with the {attachments} macro in place, and others didn't. In the end, I gave up and just put a line like this in some of the templates:

(!) ADD CURLY BRACKETS AROUND THE WORD attachments BELOW AND DELETE THIS LINE

attachments

When you're creating a page template, you can use variables to create a form. For example:

Version: @VERSION@
Author: @AUTHOR@
Date: @DATE@

You can then insert those again further down the page. As you use the template to create a page, it displays as a form, with an Insert Variables button. You only have to enter each variable once and it populates each field on the page.

But it's a bit flaky (see my answer below). Sometimes it works with macros on the page, sometimes it doesn't. I don't know where it comes from, if there's a plugin or what.

Confluence Template variables do not work in Chrome.

https://jira.atlassian.com/browse/CONF-35911 

Just wanted to stop by and say I just got bit by this one as well...more than 6 months later.

 

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,888 views 25 10
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