attachment confluence content

Dear Support Team, 
Would it be possible to use sql language to find out attachments list in some space? We use as listed as below:
select * from attachments where pageid in (select pageid from content where spaceid='12288001')

But some attachments are not shown in the result.

1 answer

This widget could not be displayed.

Not sure what the context is of your request, but ...

why not just insert the "Attachments" macro in the main body of the page

Edit Mode then <<Insert+>> and select <<Other Macros>>

We wish to use sql language to find out attachment list in some space as listed as below select * from attachments where pageid in (select pageid from content where spaceid='12288001')

I have ever try attachments macro , but it just can list the attachment in the page, not all attachments in the space. 

Thanks a lot.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

167 views 2 4
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