It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
When you're viewing what's attached to a page, you can click Properties to see some basic details about an image. An image could be displayed on the current page or any other page on the site. Is there any way to determine which pages are displaying that image?
Hey Greg,
In that case try the following:
select s.SPACENAME, c.CONTENTID from CONTENT c inner join BODYCONTENT b on c.CONTENTID = b.CONTENTID inner join SPACES s on c.SPACEID = s.SPACEID WHERE b.BODY LIKE '%ri:filename="Capturar.PNG%' AND c.PREVVER IS NULL AND c.CONTENT_STATUS != 'deleted';
The above query will search for all pages that have the image you want in it's xhml storage format. In above query my file was Capturar.PNG, so when you try it make sure to change that to the file you want, after you run it you will get the space name and page id where the attachment is being used .
Hello Greg, you can run a site wide search using the image title. Alternatively there are a couple of routes:
select pageid from attachments where title like '%<ATTACHMENTNAME>%';
https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Guilherme - I think that's a little different that what I'm talking about. For example, I can attach "image.png" to a page, and then display it on that page. While still in edit mode, I can copy the contents of that page and paste it onto another page. Doing so will still display "image.png" from the original page on the new page. Basically I'm trying to see all the places where "image.png" might be displayed on other pages - not where it's attached to other pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.