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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,481 views 25 10
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