Attachments macro

I apologise if this is a stupid question - it certainly feels like one - but how do I get a list of the attachments of a page into the page in 4.0? The docs here:

http://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments+in+a+Page

Seem to clearly state that I should use the Attachments macro... which as near as I can tell, does not exist. The editor doesn't recognise anything by that name, and Insert -> Other Macros - which is how that doco describes using it - brings up a list with nothing by that name, nor anything by any other name that seems to do the same thing.

5 answers

In Edit mode, select Insert and then Wiki Markup. Type: {attachments}. Save the document.

What are you searching for in the macro browser? When I start typing "attachments" it pops up immediately.

click on the "Insert/Add Macros" button in wiki markup (or "More macros" in the other editor), in the search window enter attachements. It will add the macro to your page. Of course if you don't have any attachments, it won't display anything.

I was capitalising (e.g. "Attachments") but otherwise spelling it the same as most of you. I tried not capitalising, and spelling it "attachements" like Jo-Anne suggests, and got nothing from auto-complete in the macro browser or the editor. Searching for attachments in the macro browser shows me Gallery and Multimedia, but nothing else. Typing {attachments} in the editor and hitting save gets me a page with "{attachments}" on it.

However. following Kay's suggestion of going to Insert->Wiki Markup, and putting {attachments} there, did work. So I have a workaround... now can anyone explain why it behaves this way? And/or how to make it stop?

I checked my account settings for Editor, by the way: I do not have Disable Autocomplete or Disable Autoformatting set. I had experimented with setting them in the past, then disabled them again. Perhaps something didn't get cleaned up quite right when I unset them again?

You might try rebooting the server to see if that clears up any glitches.

Regards,

Kay

I can suggest it to our server admin, but I don't think he's going to be real keen on the idea unless there's some reason to believe that it will help (like a known bug.)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

599 views 20 11
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