Problem with Metadata macro in page template (Confluence 4.1.9)

I'm using Confluence 4.1.9 and I'm having trouble with the "metadata" macro in a page template.

I figured out that the wiki markup for this is {details} as in:


|Field1|Some info|
|Field2|More info|
|Field3|The last info|


I've pasted this code into a the body of a page template and it appears to work correctly when I preview the template. When I try to create a page from this template, I just get an empty Metadata macro block, like this:

The table is missing from the newly created page.

I've tried searching the knowledge base, but can't find any reports of this problem. I'm not sure if this is a bug, or if I'm doing something wrong and would appreaciate any advice.

2 answers

This widget could not be displayed.

Hi Craig!

In fact, did you try typing all this data instead of pasting it on the body of the page?

If you just paste the code, since confluence 4.x changed from wiki markup to XHTML, maybe the content will not be rendered. However if you type the data it should work.

Hope it helps!

Hi Bruna,

Thank you for the response, but I don't think it is a problem with pasting.

I typed the wiki markup (shown in my question) directly into the edit box for the template I created. I didn't cut-and-paste from another page.

When I preview the template, the preview looks correct and shows the table inside the metadata macro. But, when I try to create a page from the template, the table dissapears as shown in the screenshot.

I'm guessing that this is a bug in 4.1.9, but I haven't been able to test the newer versions of Confluence with the new template editor to see if it still happens. Perhaps someone with a newer version of Confluence could test it and see if it continues to be a problem?

Thank you,

This widget could not be displayed.

A coworker stumbled across a partial solution to this problem. Apparently, it will work if you use form markup inside the {details} macro. But only the fields that have a variable associated with them will show up when a page is created from the template.

Here is an example that does work in Confluence 4.1.9:

Field1: @VAR1@
Field2: @VAR2@
Field3: @VAR3@


If this is the intended behavior for this macro, it should be documented somewhere.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 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...

602 views 8 6
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