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

This widget could not be displayed.
David Simpson Community Champion Jun 03, 2012

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

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

Confluence Template variables do not work in Chrome.

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

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

348 views 2 5
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