Problem: I want a way to show all of the attachments on a Confluence page then provide a way for end users to filter them by their associated label.
Thoughts: The Space Attachments macro is ALMOST exactly what I need but I want to restrict it to files on the PAGE only NOT the entire Space. Even being able to presort the attachments with a given macro or extension type would solve my issue but this does not appear to be possible using the Space Attachments macro.
Another idea is to use the label display but again it works for the entire space not a single page.
The Attachments macro does not answer the second part of the question. There is not a way to filter by the label. I added a search macro but I had to do a bunch of tricks with it to get even close and it is kinda cludgey. For example, each file has to have a label called "file" so I can properly search for it.
I went with the attachments macro and a search box but it is not wonderful... :(
It looks like I misunderstood, John, I had the idea you could use the attachments macro to filter by labels, when I edit the macro, I see the Attachment label option, which says "A comma-separated list of labels to filter by."
Our docs also led me to believe you could filter by label:
A list of labels, used to filter the attachments to display....
I want it real time like the Space Attachments table OR a static chart of label values like that other macro...but all of these are Space level only.
In general enhance:
# Every macro that has an option for spaces only should be enhanced to use pages and their subs as an option.
# Add label filtering to the Attachments macro just like the Space Attachments macro.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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 ...
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!
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