How do I get Confluence to add the attachments macro to all pages?

We have a lot of people who create pages and then others will post a lot of attachments to those pages. I want the attachements macro to automatically be added to all new pages. I'm sure there is a way to add it in the template but I don't know where to add it nor the code to do it. Does anyone have an answer for this?

2 answers

1 accepted

Accepted Answer
1 vote

Which version of Confluence are you using now?

You can create a new template (Confluence Admin > Global Templates) and add Attachments macro in this template. Please refer to the following documentation for more info: https://confluence.atlassian.com/display/DOC/Adding+a+Template

Users need to use this newly created template every time they create a page (Add > Page from template)

If you are using Confluence 4.2.4 and below, please note about this bug: https://jira.atlassian.com/browse/CONF-18422

I am using version 4.3. Thanks, this is exactly what I was looking for!

Hello,

Actually I don't know other way to allow add such attachments to all pages. However I created for you this feature request that may be implemented in a future version:

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

Feel free to comment and vote in this feature request.

Just to clarify, I don't mean adding attachments from one page onto a newly created page. I just want the default template for a page to include the attachments macro so that when someone creates a new page, the attachments macro will automatically be on the bottom of that page regardless of whether or not any attachments have actually been added yet.

Sorry for any confusion.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

26 views 0 0
Read article

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