Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,518
Community Members
 
Community Events
165
Community Groups

Add Expand macro to template?

I am creating a template with an expand macro (/expand) on the page.  In that expand macro, there is a table which has /variable added to it.  I want to end up with a table in the expand macro where the left side has a description and the right has a /variable for each row.

The template has been created and saved.  When I choose the template, I can access the variables not in the expand macro without an issue.  The expand macro is shown collapsed; when I click to expand it, the page stops being the editable template and turns into a "normal" page for editing.  I no longer see my variables and the table in the expand macro does not show any variables in it.

If I go to Templates and click on the template I just created, I do not see my expand macro in the view - it's skipped right over.  I can see everything else.

Is the expand macro not compatible with a template?  Can you not have /variable fields in an expand macro?  Is there any way around this?

Please let me know if you have any questions!
Thank you!

Liz

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Liz Rollet 

Just tried to reproduce what you described, and I think I ran into the same problem. Have you tried creating a version of the template without the expand? It seems to be some kind of display problem with the expand.

Hi Laura!

Yes, we did find that if we removed the expansion macro, the template worked fine.  That is the solution at this time.

I am sure this is an edge case and most people don't want to use the expand macro with a template so the workaround is fine for our use case.

Thank you for confirming that someone else is running into the same issue!

Liz

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Presenter Mode for Confluence is here 🖥 👩‍💻

👋  Hello Community!  My name is Stephanie Zhang, and I’m a product manager on the Confluence cloud team. Today, I’m excited to announce the rollout of  Presenter Mode : a ...

80,709 views 127 304
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you